> % it, but i'd imagine it would be really easy to use this preexisting > % functionality to look at all mailboxes. > > It already does :-)
I guess we're talking about different things here. I'll try to be more specific: I come into work in the morning and go into my =mutt folder. There are, say, 50 unread messages that have arrived since yesterday. I don't feel like reading them now, so i go to the next mailbox. In some mailboxes, i read the unread messages. In other mailboxes i leave them for later. Now i want to go back and read the unread messages that i skipped. I can press the <change-folder> key and go to whatever mailbox is the default. This is great, because the default is always takes me to the next mailbox containing unread messages. If no mailboxes contain unread messages, there is no default. However, sometimes i want to see a list of all mailboxes containing unread messages. But the folder list's %N escape does not show this. It shows which folders have had new mail placed in them since the last time i visited them. I'd like to add an escape sequence that marks any folders that contain unread mail. You're saying that processing such an escape sequence would require a lot of new code in mutt and take a lot of time, because looking for unread messages is slow and hard. But i find that strange because mutt already has a way of identifying folders with unread messages, and it uses it to pick a default for the <change-folders> command. I use maildir -- perhaps that is why your results differ from mine?
msg24193/pgp00000.pgp
Description: PGP signature