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:

Facts I Learned From A City On Mars

Space bastardry!

via Thing of Things April 14, 2025

Which Came First, the Chicken or the Egg?

When I thought about this question it was really hard to figure out because the way it's phrased it's essentially either a chicken just pops into existence, or an egg just pops into existence, without any parent animals involved. I thought about t…

via Lily Wise's Blog Posts April 13, 2025

Advice for time management as a manager

have accurate expectations of yourself • prioritize ruthlessly • unemploy your future self • a five-step “help, I’m overwhelmed” checklist • carve out focused time

via benkuhn.net April 1, 2025

more     (via openring)