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 11:53:36 -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 :content-transfer-encoding:in-reply-to; s=default; bh=Zxv9E2asIK 0Ljmd2lanzy64D7P4=; b=f5ZdseM8F4pZu8/3g04W7j5P+g5k26kBJm0jSprpkK Fb4xfZ7PZfFckz7X2z1RWxmZtxA3zAdh8VYABSMA12EJHpn4LNcrmFXk14fOq2uk 86Ib7+5t/3uWcu/CGq7hR6tei/SyygH9bOqbV+ZgGJ5KlBgI1uSrA7ENcAcMcYpY Y=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=eVq5JWN2z6er6G/Sk6IpMgyhVY4YWeer8M/5llqcei7Rt92c1oj8vYmRgFaojQtaS+lzC9sCFZyotvWuN+5CqwSv8V31egpJ3TC/Iu2s/yEdaPqxRZ7/ff+XdraehzelRJrn/EvYKc3N2OYa12DGYMTf2UenLld3GHJtscGt5S4=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:Content-Transfer-Encoding:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090410163353.GA7183@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>
- 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 12:33 PM, quoth J. Limon:
> When I get my own email reply from a mailing list it shows up in the
> Inbox listing as like this..
>
> 11 F Apr 10 To Ubuntu user ( 35) └─>
>
> (An example of me replying to something in Ubuntu Users)
>
> I would like it to just deply my realname just like anyone else's
> email, since the message above it has an r and it's my name, I think
> I be smart enough to realize that it's my message without the "To
> BLANK .." ;)
Heh! I feel the same way, at least for mailing lists.
Anyway, the way to get what you want is to change the $index_format.
For most mailing lists, I use the following:
"%4C %Z %{%b %d} %-15.15n (%4c) %?M?[%M]> &?%s"
| | | | | | `- Subject
| | | | | `------------ for folding threads
| | | | `----------------- message size
| | | `---------------------- THIS is your answer
| | `-------------------------------- date
| `---------------------------------------- status flags
`------------------------------------------- count
The default $index_format uses %-15.15L instead of %-15.15n. The
difference is described in the muttrc man page:
%L If an address in the "To:" or "Cc:" header field matches
an address defined by the users "subscribe" command, this
displays "To <list-name>", otherwise the same as %F.
Given that, you'd think that %-15.15F would be good, right? Well, I
use that *most* of the time for non-mailing list folders:
%F author name, or recipient name if the message is from you
But for mailing lists... well, since I keep them all in separate
folders, I don't need "recipient name", I'm smart enough to know what
folder I'm looking at (plus, it's listed in the status bar if I ever
forget ;). So, for mailing lists I use %-15.15n:
%n author's real name (or address if missing)
That way messages from me to mailing lists show up as FROM ME.
I keep my mailing lists in subfolders of my "Subscribed" folder, so I
switch between the two formats (%F and %n) using folder-hooks, like
so:
folder-hook . \
'set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %?M?[%M]> &?%s"'
folder-hook "Subscribed" \
'set index_format="%4C %Z %{%b %d} %-15.15n (%4c) %?M?[%M]> &?%s"'
Hope that helps,
~Kyle
- --
To succeed in the world it is not enough to be stupid, you must also
be well-mannered.
-- Voltaire
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAknfeZAACgkQBkIOoMqOI16G5wCfT1u/3nIKqRnBJca8G4wqGjhK
ssIAoN6M75uIj5Jc+a+7L855kpSlXokS
=cohQ
-----END PGP SIGNATURE-----