On Sun, Apr 09, 2000 at 05:14:24PM -0400, Harry Henry Gebel wrote:
> On Sun, Apr 09, 2000 at 04:37:09PM -0400, Maciej Kalisiak wrote:
> > It would be extra cool if mutt could show 'O' for a folder in the file
> > browser, to indicate that the mailbox has some unread email, similar
> > to how  it shows 'N' for a mailbox with new emails.
> 
> I believe that would require each file in the directory to be scanned
> to determine if there is any unread email in it. Mutt would probably
> have to start using summary files to do this efficiently, I do not
> think it keeps any now, or at least I haven't been able to find any.

On this subject: after one has read a msg and Mutt syncs up the
mailbox, a header line of 'Status: RO' is added to that msg.  This is,
I presume, how Mutt knows not to mark it as new.  Is this a standard
header?  Is it always a value of 'RO'?  I looked for it in some rfcs
but had no luck.

To deal with the sort of issues that the original poster described
(lots of mailboxes, intermittent mail) I wrote a little Perl script
that tells me how many unread msgs are in each mailbox.  Essentially
it counts '^From ' and '^Status: RO' in the headers and takes the
difference.  It can be found at http://www.sxse.org/miff -- perhaps it
would prove useful.

-Frank.
-- 
Frank Price -oOo- [EMAIL PROTECTED] -oOo- www.sxse.org/fprice/
GPG key: www.sxse.org/fprice/gpg.asc -oOo- E Pluribus Unix

Reply via email to