On Fri, Mar 25, 2016 at 02:36:17PM -0400, Jon LaBadie wrote: > So my mail reading consists of starting and quitting mutt many times > as I switch among the mailboxes. > > Recently I've been trying to adapt to using the "y" mutt command to > list my mailboxes and select the one I want to read next. > Unfortunately the mailbox list includes the empty ones as well as ones > with readable mail. Is there a way to eliminate the empty files from > the list prepared by the "y" command?
If you define mailboxes that you expect *incoming* mail in via 'mailboxes' (e.g., mailboxes +foo, or mailboxes +foo*), 'change-folder' (bound to c by default, I believe), will cycle through mailboxes with new mail in the order they're defined. Or, if you do <change-folder>=<tab>, tab should switch between a view of all mailboxes and a list of mailboxes with new mail (with the count of new messages on them). macro index g "<change-folder>\r" macro pager g "<change-folder>\r" You can also do <change-folder>=f<tab> to complete to mailboxes starting with 'f', or <change-folder>=foo<enter> to go to the mailbox 'foo'. HTH. w
