Re: index_format - indicate which email has attachment
On 10/06/07 11:44, Christian Ebert wrote:
> * Joseph on Saturday, October 06, 2007 at 00:48:00 -0600
> > Is it possible to show in index display which email has an attachment?
> > I was looking for a solution but it seems to me I need to install a
> > patch in order to show this information in index_format.
>
> Your version of Mutt should already have the patch included.
> Experiment with %X in index format, and have a look at the, you
> know, fine manual:
>
> %X
> number of qualifying MIME parts in this part and its children
> (please see the ``attachments'' section for possible speed
> effects)
>
Yes, I was playing with it but when I set my index like this it displays
"0" on all files, even the one with attachments.
set index_format="%4C %Z %d %X %-15.15n (%?l?%4l&%4c?) %s"
--
#Joseph
GPG KeyID: ED0E1FB7