On Mon, Oct 25, 2010 at 01:25:53PM -0500, Kyle Wheeler wrote: > On Saturday, October 23 at 05:45 PM, quoth Mike Hollis: > > The only problem with this config is I have to use List-Reply for > > some mail and not for others. > > I had this problem (or something similar), and I used hooks to "fix" > it for all intents and purposes. With the following hooks, I just use > 'r' to reply to any and all messages, and mutt will almost always do > the right thing: > > # make replying to the list something I don't have to think about > > folder-hook . 'bind index l list-reply; bind index r > reply' > folder-hook "INBOX.Subscribed" 'bind index r list-reply; bind index l > reply' > folder-hook "INBOX.Organizations" 'bind index r list-reply; bind index l > reply' > message-hook . 'bind pager l list-reply; bind pager r > reply' > message-hook ~l 'bind pager r list-reply; bind pager l > reply' > > In essence, this swaps r and l back and forth in terms of what they > do. The first three hooks handle index behavior, the last two hooks > handle "what happens when I'm viewing a message" (and function > independently of the first three hooks, so list messages can be in any > folder). For messages that match the ~l pattern (i.e. lists I am > subscribed to or have otherwise defined as mailing lists), r is a > list-reply, otherwise, it's a normal reply. > > Maybe this will help you. > > ~Kyle
This works well.I tried on all my mailing list boxes and Mutt brings up the list address with "r". I truly appreciate the tip. Thanks --- Mike Hollis ---
