On k, nov 19, 2013 at 17:38:27 +0800, Chris Down wrote: > On 2013-11-19 10:23:42 +0100, Suvayu Ali wrote: > > I use the following as my index_format: > > > > "%4C %Z %?X?@& ? %{%b %d} %-15.15n (%?M?»%3M&%4c?) %s" > > > > The @ tells me there is an attachement, and the 4c tells me the size of > > the email. I find this works mostly, except from some emails from Apple > > Mail. It does not work when the Apple Mail user "embeds" the attachment > > in the email (e.g. pictures). I think the MIME information set by Apple > > Mail in this case is just plain wrong. > > I tried this, and it caused Mutt to start having to download all message > bodies in the index. Is this expected, or did I do something wrong? If > so, it seems to defeat the point of knowing.
That is correct. muttrc(5): [...] index_format %X number of attachments (please see the "attachments" section for possible speed effects) ATTACHMENTS "In order to provide this information, Mutt needs to fully MIME-parse all messages affected first. This can slow down operation especially for remote mail folders such as IMAP ..." But not to worry! Body caching[1] is might be just what you need :) [1] - http://www.mutt.org/doc/devel/manual.html#body-caching -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F