On 2000.06.19, in <[EMAIL PROTECTED]>,
"David T-G" <[EMAIL PROTECTED]> wrote:
>
> Any way to put the X-Label: contents into $index_format?
My index_format has: "%?y?[%y] ?". From the docs:
The ``X-Label:'' header field can be used to further identify mailing
lists or list subject matter (or just to annotate messages
individually). The ``$index_format'' variable's ``%y'' and ``%Y''
escapes can be used to expand ``X-Label:'' fields in the index, and
Mutt's pattern-matcher can match regular expressions to ``X-Label:''
fields with the `` y'' selector. ``X-Label:'' is not a standard
message header field, but it can easily be inserted by procmail and
other mail filtering agents.
And:
%y `x-label:' field, if present
%Y `x-label' field, if present, and
(1) not at part of a thread tree,
(2) at the top of a thread, or
(3) `x-label' is different from preceding
message's `x-label'.
(Yuck! How did I do such a lousy formatting job?)
I also have a patch that allows the <label> command (bound to 'y' by
default) to edit labels in the status line, like similar commands for
editing other fields. I find this immensely useful, but Thomas is
happy with using edit-headers. :)
Add-on for 1.3:
http://home.uchicago.edu/~dgc/mutt/mutt-1.3.dgc.xlabel.3
All X-Label patches for 1.2:
http://home.uchicago.edu/~dgc/mutt/mutt-1.1.12.dgc.xlabel.3
--
-D. [EMAIL PROTECTED] NSIT University of Chicago