List reply in mutt

September 12th, 2009
email, tech
Mutt has a nice feature where when you have set it up properly, you can press 'L' for 'reply to list'. I use this a lot, but I'm on a good number of mailing lists and don't like that each time I need to go and add "subscribe listname@host.tld" to my ~/.muttrc. This is annoying. If you invoke 'reply to list' on a mailing list message that you've not marked in the ~/.muttrc, you get the error "no mailing lists found". So, given that such a high percentage of lists are listid setting gnu mailman lists, what if we replace that error logic with:
  1. if would raise 'no mailing lists found error' and
  2. if the message has a list id header and
  3. if the list id header contains an email address and
  4. if the email address is in the to, cc, reply-to, or from field then
  5. reply to list with that address otherwise
  6. raise the error as we were going to

Comment via: facebook

Recent posts on blogs I like:

Starting With Chords

A lot of people play fiddle. Basically nobody starts by learning chords before learning melodies. But that's actually how I learned. I started with chords. One of the nice things about learning to play violin this way is that you can go busking even…

via Anna Wise's Blog Posts November 15, 2024

Stuffies

I have some stuffies and I just have a bunny. Bunny is a rabbit. Woof is a seal. My favorite stuffie is bun bun. I play with my stuffies. Sometimes I jump up with them and I roll them. I can just throw them in the air when I want to play bthululubp wi…

via Nora Wise's Blog Posts November 15, 2024

You Can Buy A Malaria Net

2024 election takes

via Thing of Things November 6, 2024

more     (via openring)