Re: Number of new mails in a maildir
* Kristof Provost on Sunday, September 12, 2010 at 20:26:47 +0200
> On 2010-09-12 01:48:39 (+0200), Christian Ebert <blacktrash@xxxxxxx> wrote:
>> * Kristof Provost on Sunday, September 12, 2010 at 00:17:43 +0200
>>> I've been playing with maildir mailboxes (I usually use IMAP), and
>>> noticed that mutt can't show the number of unread messages in the
>>> browser (only that there are unread messages).
>>
>> A nice to have! Wish: instead of display 0 for no new messages,
>> could there be nothing? That way mailboxes with new mail would
>> stand out more.
>>
> That's possible, but it's different from what was always done for IMAP.
> It seems sensible to have the same behavior for IMAP and maildir.
Ah, right, I just use local Maildirs.
>> It breaks the change-folder prompt: usually this shows the next
>> mailbox with new mail. Also cycling through the mailboxes with
>> new mail with <Space> in the menu does not work anymore. At least
>> here.
>
> Ah yes. Thanks for testing.
> I removed a little too much from buffy_maildir_hasnew.
> It no longer returned 1 if there was some new mail.
Seems to work now. Only thing is: when I leave a mailbox with new
messages for the browser the count of new messages for the
mailbox I just left is 0 even if I didn't read any new messages.
After opening a different mailbox and going back to the browser
the new message count for the first mailbox shows up correctly
again.
c
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies --->>> http://www.blacktrash.org/underdogma/
http://itunes.apple.com/podcast/underdogma-movies/id363423596