On 21.3.2005, at 16:09, Tom Alsberg wrote:
They would have to be separated in some way so that the mailbox handling code is run only when mailbox is being opened. Except there would also have to be some kind of mailbox format specific filters in the listing code, so that nothing would be shown under "~/mail/foo" if ~/mail/foo/new (and cur and tmp?) exists.
Why? There can be an hierarchy of mailboxes (a mailbox can contain sub-mailboxes, etc.)
I would more like say that if new, (and cur, and tmp?) exist, it will be treated as maildir, and only those subdirectories will not be shown...
That's what I meant. But there needs to be a clean way to do that, without hardcoding the maildir support directly into it. Other formats than mbox and maildir will be supported later..