Attila Csosz <[EMAIL PROTECTED]> wrote:
>
> from manual:
> ------------
> index_format:
> ...
> Default: "%4C %Z %{%b %d} %-15.15L (%4l) %s"
>
> Where is here the format specifier for the From: field??
> What should I change to get a list of specifiers for my sent-items?
The very manual that you're quoting from has a full list of these format
specifiers. In my manual, the list appears *right underneath* the
index_format variable that you're quoting above. How did you miss it?
%a address of the author
%b filename of the original message folder (think mailBox)
%B the list to which the letter was sent, or else the folder name (%b).
%c number of characters (bytes) in the message
%C current message number
%d date and time of the message in the format specified by
``date_format'' converted to sender's time zone
%D date and time of the message in the format specified by
``date_format'' converted to the local time zone
%f entire From: line (address + real name)
%F author name, or recipient name if the message is from you
%i message-id of the current message
%l number of lines in the message
%L list-from function
%m total number of message in the mailbox
%M number of hidden messages if the thread is collapsed.
%N message score
%n author's real name (or address if missing)
%O (_O_riginal save folder) Where mutt would formerly have stashed the
message: list name or recipient name if no list
%s subject of the message
%S status of the message (N/D/d/!/*/r)
%t `to:' field (recipients)
%T the appropriate character from the $to_chars string
%u user (login) name of the author
%v first name of the author, or the recipient if the message is from you
%Z message status flags
The format specifiers in the default index_format are:
%4C Current message number, four digits.
%Z Message flags
%{%b %d} Message date (month & date)
%-15.15L List-from function, left-justified, 15 characters
(%4l) Number of lines in message
%s Message subject
The list-from function is described in section 4.8, "Handling Mailing
Lists":
Now that Mutt knows what your mailing lists are, it can do several
things, the first of which is the ability to show the list name in the
index menu display. This is useful to distinguish between personal
and list mail in the same mailbox. In the ``$index_format'' variable,
the escape ``%L'' will return the string ``To <list>'' when ``list''
appears in the ``To'' field, and ``Cc <list>'' when it appears in the
``Cc'' field (otherwise it returns the name of the author).
If the message isn't addressed to a list, the %L just performs the %F
function, which is to show the name of sender, or if the sender is you,
then the name of the recipient. What you want to do, apparently, is
change this to the '%t' specifier, which simply lists the recipients,
when you are in your sent folder. I do this like so:
folder-hook . 'set sort=threads \
index_format="%4C %Z %{%b %e} %-15.15L (%4c) %s"'
folder-hook +sent 'set sort=date-sent \
index_format="%4C %Z %{%b %e} %-15.15t (%4c) %s"'
--
David DeSimone | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED] | that there is no man really clever who has not
Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer | PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44