On Thu, Mar 11, 2021 at 05:21:43PM -0500, Misha Velthuis wrote:
The only thing that I haven't been able to fix, is the fact that - in this version of mutt - the indexer does not show the number of attachments (or attachments yes/no) anymore. It just shows "0" or "-", even when an email actually does have attachments.

`set index_format="%4C %Z %?X?A&-? %-13.19{'%y %a %b %d %H:%M} %-20.20L 
(%?l?%4l&%4c?) %s"`

"%?X?A&-?" is going to print either 'A' or '-'. I'm assuming you are seeing only "-"?

In order to get attachment counting working, you *may* need to define some attachment settings. Take a look at <http://www.mutt.org/doc/manual/#attachments> for the details.

However, the default system Muttrc that ships with Mutt does have some basic attachment settings already. These are listed starting about halfway down in <https://gitlab.com/muttmua/mutt/-/blob/master/doc/Muttrc.head>

You can see the current settings Mutt knows about by running ":attachments ?" and hit enter.

You may want to check what is installed for your system Muttrc file. Perhaps it's missing those settings.

Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to