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

Again: attachment counting



Hi,

I just had this stupid idea for attachment counting as I recall someone mentioning header caching in the thread some time ago and as I came accross a CVS commit for that area.

However, as I read the maildir code, header caching shouldn't have any effect. Writing to it is only done if the message is not present yet, and when it's read for the first time, mutt IIRC doesn't do the full the MIME parsing. But that would mean mutt would add the parse tree after putting it in the hcache.

Is that assumption true?

Also, somehow related: as I've tuned my POP patch pretty much towards Brendan's concerns, I still would like to do exactly that: when syncing a folder, write the message to the hcache. However, all my attempts failed and screwed up the cache. (I tried: delete first and then insert).

Can somebody help me here?

  bye, Rocco
--
:wq!