<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3062: Add folder_format code so users can display both RECENT and UNSEEN when using IMAP



#3062: Add folder_format code so users can display both RECENT and UNSEEN when
using IMAP

 I recently upgraded from 1.5.11 to 1.5.18, and to my surprise the %N code
 in folder_format suddenly shows the amount of UNSEEN messages instead of
 RECENT. I really liked the old behavior, which I successfully restored
 with http://dev.mutt.org/trac/attachment/ticket/2897/mutt-
 imap_recent.patch.

 But how about allowing both? They cover different use cases, both of which
 I feel would be useful for me. During my regular mail reading I'm
 interested in the number of RECENT messages, but when I have some extra
 time and want to catch up on some of the UNSEEN ones, I'd like a quick way
 to spot the relevant mailboxes without having to open them all and look.

 How about having %N count RECENT messages, and %O count UNSEEN? I believe
 this would be the most intuitive naming, since the characters then match
 the output of %Z in index_format and the ~N and ~O regex escapes.

 Please let me know what you think :-)

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3062>