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

Re: index_format - indicate which email has attachment



On 2007-10-06, Joseph <syscon@xxxxxxxxxxxxx> wrote:

> Thanks Dave for the example, no my muttrc did not come with these 
> defaults, and yes it works now.
> 
> It displays attachments but is there a way to suppress the "0" if there is 
> no attachment.

The 'index_format' accepts conditional elements, so something like 
this will work,

   %?X?%X?

or if you want a space in place of the 0 instead of nothing, this:

   %?X?%X& ?

Regards,
Gary