Re: Two problems - sorting index +
- To: mutt-users@xxxxxxxx
- Subject: Re: Two problems - sorting index +
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Mon, 1 Oct 2007 09:17:56 -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; q=dns/txt; s=default; bh=Tf4LRc6cdOnaCTSikT6Stw05jAs=; b=D9g8fHE6gY6xfHNJNcCrWXLt7mV1yfEWRKw7Ax4EhDhm9fqSDIJTDkD/YU+oKc6sqXJliVYtFp0wzdgioKQ6LSs6JRoewFiThdKDoDFfCtB5eh4HW+9Qbz28wAyyF6SAUTZSBK/ohE6QwReRSOKW+63IzJbtXBN8Hlu/ZDScgKw=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=BeI8NfThfBlgqEVcaQpKTRcib0VIUyaN8lhPUON1o1o+HBT+fuMhogBwG3hboMndEX2xjMXaYPwJZeiW3RRNzyFWjZuTBLHdMSfl3YW4DhjgF35qkaEyhQ12O1zDMp1E8Mt1eGQi226CD4xfYMqTtp7hpYDa1TOmtxx3U3gRhUc=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20071001043453.GE29646@xxxxxxxxxxxx>
- 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
- References: <20071001033203.GB29646@xxxxxxxxxxxx> <20071001040619.GB26467@xxxxxxxxxxx> <20071001043453.GE29646@xxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-09-10)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, September 30 at 10:34 PM, quoth Joseph:
>On 09/30/07 23:06, Kyle Wheeler wrote:
>> On Sunday, September 30 at 09:32 PM, quoth Joseph:
>> >I would like to solve two problems.
>> >
>> >1.) I have noticed on your mailing list when I hit the index I see:
>> >-----
>> > 2 F 09/22/07 23:06 To mutt-users@m (4.2K)
>> > 3 s 09/23/07 01:13 Kyle Wheeler (2.2K)
>> > 4 09/23/07 02:40 Stefano Sabatin (3.0K)
>> >-----
>> >
>> >The mail #2 is from me: "To mutt-user@m" and all other emails I see have
>> >the names in them, which variable it is
>> >controlled by, is it by header or index display?
>>
>> index_format
>
>So I have to dissect that crypto :-)
Sorry; the answer to your question is that it's controlled by index
display, specifically, the variable $index_format. The default
$index_format is:
%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s
^ ^ ^ ^ ^ ^ ^- Subject
| | | | | `- size of message, in lines or bytes
| | | | `- THIS IS THE ONE TO CHANGE
| | `--+- The date and time of the message
| `- message status flags
`- current message number
The one you want to change (%-15.15L, or more simply, %L) means,
according to the documentation:
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
%F means:
author name, or recipient name if the message is from you
What it doesn't mention is that if it shows the recipient name, it
shows it in the form "To <recipient>".
In other words, you haven't specified in your muttrc that
mutt-users@xxxxxxxx is a list you're subscribed to, and so it's
falling back on %F for all of those messages. If you want it to ALWAYS
show the author of the message, replace "%-15.15L" with "%-15.15a" in
your $index_format, which is the address of the author of the message.
~Kyle
- --
If you are going through hell, keep going.
-- Winston Churchill
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHAQGUBkIOoMqOI14RAsSkAJ0biOvwg2td+P0C+1oYnmLLhCsEPACgpi3L
IeywcP6K2cFJXRf6EAVdVdo=
=earD
-----END PGP SIGNATURE-----