Re: Mailing list "from" format
- To: mutt-users@xxxxxxxx
- Subject: Re: Mailing list "from" format
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Fri, 10 Apr 2009 12:24:21 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=erJSsnw2rWWHHK32ocnKLQodLoM=; b=dzOt 8ezlDa0ON9+VfTOTQFUUgOqqfa4NppQHspNK5KAlfEwzDLkIk7gc+Pp6KhjI5KJz o633wcd+a+6qe2gbPXMAaZeWfKXfqCtmw7n1hA+sn6IoVHrwbH1PJMaS+xo/XZAg pC5gpqUiT08YV5v5leCu82kTSgg1BvRe034CzjM=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=V5hZ7WXq8UGOHC4ItwY2A5wL8uR0Pv4i6cUn+/F5eLkWGMqTeVPK6I2FgxYvZAn0Kw2E0ro0ABCmGpasX1fX19/6CefYx6O2Kl5kPs1zlVVVhbmz4i0oQE1t/j3wYilrO9PPbx8njDFL2U53OufouDm0onTfwdVdxnMhEhiM6to=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090410171052.GA8561@rorschach>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20090410163353.GA7183@rorschach> <20090410165336.GE1759@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090410171052.GA8561@rorschach>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-04-06)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, April 10 at 01:10 PM, quoth J. Limon:
> Also, is it just me or does this list not have a proper reply-to ?
> When I hit reply it tried to reply directly to you.
I never noticed. I think there's an argument to be had about reply-to
mangling by mailing lists, but I avoid the problem entirely: I use
mutt's <list-reply> function to reply to all mailing list messages (by
default, this is bound to the L key, I think).
And before you protest "that's annoying! What if I forget?", let me
stop you right there. Why forget? MUTT TO THE RESCUE! I figure I
almost *always* want to list-reply when I'm replying to a mailing-list
message, right? So, I rebind the 'r' key with... you guessed it:
HOOKS! (Have I mentioned that I *love* hooks?)
The easiest way to do this is with a message-hook:
message-hook . 'bind pager l list-reply; bind pager r reply'
message-hook ~l 'bind pager r list-reply; bind pager l reply
Eh? Eh? Cool, no? (the ~l matches all mailing-list messages) Of
course, that doesn't help in the INDEX, and it's impossible to change
the key bindings based on the message that's *SELECTED*, so I match
based on the folder I'm in (which is virtually always what I want to
do):
folder-hook . \
'bind index l list-reply; bind index r reply'
folder-hook "Subscribed" \
'bind index r list-reply; bind index l reply'
Make sense?
~Kyle
- --
Democracy must be something more than two wolves and a sheep voting on
what to have for dinner.
-- James Bovard
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAknfgMUACgkQBkIOoMqOI16I/QCgsCxoWPuuehepTo3Uf0sJfCrH
myAAn0WlJne9smvzsdihQV1rPCBzHjOs
=IzUm
-----END PGP SIGNATURE-----