#3062: Add folder_format code so users can display both RECENT and UNSEEN when using IMAP
Comment (by knuta): I really felt like trying this out, so I made the attached patch which implements it. Beware that I've only tested it for a little while, and only against IMAP. Possible problems in imap/browse.c: - I'm not sure if idata->ctx->unread is the right thing to use, I just guessed based on the variable name. - state->old was already in struct mailbox_state, but didn't seem to be used anywhere. I assumed it was meant for something like this, as part of an incomplete similar patch. Other comments: - I just hardcoded a 0 in everything except IMAP. I'm not familiar enough with maildir to be sure, but perhaps this patch could be extended to include maildir as well? -- Ticket URL: <http://dev.mutt.org/trac/ticket/3062#comment:1>
