Attachment flag
Kevin J. McCarthy
kevin at 8t8.us
Thu Mar 11 23:02:06 UTC 2021
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20210311/b61c7b74/attachment.asc>
More information about the Mutt-users
mailing list