<<< Date Index >>>     <<< Thread Index >>>

Re: index_format - indicate which email has attachment



Hi,

* Joseph [07-10-06 11:12:46 -0600] wrote:
On 10/06/07 11:44, Christian Ebert wrote:

%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"

Did you properly configure all 'attachment' commands (see the system Muttrc file for examples) or did you just add '%X' to $index_format?

You have to tell mutt what an you consider an attachment before %X does display the counts in $index_format.

Rocco