On 10.11.10, 00:33, Stefan Wimmer wrote: > Hi, I'm using this for showing me the number of attachments: > > set index_format="%4C %Z %2M %{%d %b %y} %-28.28a (%4l) %?X?[%X]& ? %s" > > And it's mainly the part "%?X?[%X]&" ... > > Using 'man muttrc' you get the following explanation: > > %X number of attachments (please see the “attachments” section for > possible speed effects) > > HTH > Stefan
Thanks Stefan and David, it is incredible how sometimes I search anywhere for an answer, but at the end it was simply and RTFM matter. Anyway, I'm now using this set index_format = "%3e %Z %{%d/%m/%y} %-25.25n %?X?[%X]& ? %s" and it works fine, excepted that the counter does not show application/octet-stream attachments (in most cases PDF or -- ugly -- .doc or .odt) . Reading the online man, I've added attachments application/octet-stream to my muttrc, even if I think it's not necessary, since attachments +A */.* is defined by default. However, now with ":attachments ?" I have: Current attachments settings: attachments +A */.* attachments +A image/jpeg attachments +A application/octet-stream attachments -A text/x-vcard attachments -A application/pgp.* attachments -A application/x-pkcs7-.* attachments -A message/external-body attachments +I text/plain attachments -I message/external-body But, Mutt seems to ignore pdf and WYSIWYG editors attachments during count in index. What's wrong with me? -- Francesco de Virgilio *Ubuntu-it team member* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia projects contributor* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://www.fradeve.org "Love - Peace - Freedom - Free Software"
signature.asc
Description: Digital signature