Re: Customize To: field
- To: mutt-users@xxxxxxxx, mutt-dev@xxxxxxxx
- Subject: Re: Customize To: field
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Mon, 17 Nov 2008 09:37:44 -0600
- 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=2rqbjQ1q/AqxJQZodJeaXfeT7wY=; b=fnUJ iZUBDAOeIvGAwUozKIq9mR/pqosxiC/HtuNfhXBi9hcFo0rdvgkbEukf9s/yMyd5 TKS+ynO0lN4nB+yvmaTm3li3nIcbxaSweYsVNUjpYJhIBwyzAl5bQqr+mVGEEQoq fd5cqvdifbA2EUdcRw/yy1rnQEbObAESRuywrzg=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=Ke49TzpZpVlFZojmdE0jtVENSg3w73VThTs84/NqogFXo7+HNM7wFQgqGGntHb9WBwGOXRSeiIf4zuk3jY16/AAyD51/g72uUHI5LYjh4D7J8MiuV1j85C2mVYXZE0tq/ZLuBEIVRiY4Lg3kdELVTFdkeSfSVfvzR+9FPOx6KO8=; 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: <20081117150110.GA24547@xxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-users@xxxxxxxx, mutt-dev@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20081117143700.GA30931@localdomain> <20081117150110.GA24547@xxxxxxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-10-30)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday, November 17 at 07:01 AM, quoth Michael Elkins:
> On Mon, Nov 17, 2008 at 03:37:00PM +0100, steve wrote:
>> Sometimes people send their message with the following headers:
>> From: "email-address" <email-address>
>> which isn't very nice in the index menu.
>> I would like to re-write this line as following :
>> From: "a chosen name" <email-address>
>> I tried a reply-hook in the config file for that particular recipient:
>> reply-hook . 'set To: "a chosen name" <email-address>'
>> but when I hit 'r' to reply, I see 'unknown variable' in the bottom bar
>> and the To: field hasn't change.
>
> Mutt doesn't currently have any way to delete or alter the recipient
> list.
That's not true. It's kinda annoying, but it can be done. Here's how:
reply-hook '^~t email-address' 'push <edit-to><kill-line>"a chosen name"
<email-address><enter>'
~Kyle
- --
They say marriages are made in Heaven. But so is thunder and
lightning.
-- Clint Eastwood
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkkhj8gACgkQBkIOoMqOI17bFQCgu7B/FR8CPJZzx0nDr3+ntuG0
jegAnimjJdcQj+fNmA52eACS99aDaFGt
=ZuUH
-----END PGP SIGNATURE-----