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

Re: atime/mtime



Hi,

* Patrick Shanahan wrote:
> * Rocco Rutte <pdmef@xxxxxxx> [06-23-09 17:16]:
> > * Patrick Shanahan wrote:
> > 
> > > One think I find lacking is a flag in the
> > > directory listing similar to the "N", new mail flag, showing folders
> > > containing "O", old mail.  I want to know where *unread* mail is, not
> > > *just* new mail.
> > 
> > This is not as easy at it sounds. At least (unfortunately) not without 
> > full parsing with mbox which is bad. For maildir you'd have to walk the 
> > cur/ subdirectory which can be huge and or painfully slow with a slow  
> > FS. "Just new mail" is well defined so that checking folders is really 
> > cheap.
> 
> Is this something perhaps that could be added to header_cache without
> so much overhead?

Maybe. But that'd work only while you use mutt to mark mails as old, as
soon as another tool comes into play it's get unreliable (e.g. unison).

Rocco