On Sat, Sep 24, 2011 at 02:41:44PM +0200, Toby Cubitt wrote: > On Tue, Sep 13, 2011 at 04:59:11PM +0200, Toby Cubitt wrote: > > I use maildir for all my mailboxes, except the system mailbox in > > /var/spool/mail/<user> which receives mail from local processes such as > > cron, and which is in mbox format. > > > > Mutt seems to detect new mail in the system mbox fine (at least, the > > mailbox is marked as having new mail in the sidebar - I'm using the > > sidebar patch.) However, for this solitary mbox mailbox, the > > <next-unread-mailbox> command doesn't work. It works fine for all the > > other maildir mailboxes. > > > > I've tried both with and without the check_mbox_size option enabled, to > > no effect. I'm running Linux with /var on a separate filesystem, and /var > > is mounted with the relatime option (which, as I understand it, should > > mean that check_mbox_size is unnecessary). > > > > Does anyone have any idea why <next-unread-mailbox> doesn't work for this > > one particular mailbox, even though mutt does seem to be detecting new > > mail to it, and the command works for all other mailboxes? > > No ideas on this? Is anyone else experiencing similar problems? Is there > any additional information I could give that would be helpful? > > Toby > -- > Dr T. S. Cubitt > Mathematics and Quantum Information group > Department of Mathematics > Complutense University > Madrid, Spain > > email: ts...@cantab.net > web: www.dr-qubit.org I don't understand what are you doing? If you want to switch mailbox among all of mailboxes, you can write follow lines in .muttrc: bind index \CN next-unread-mailbox bind pager \CN next-unread-mailbox -- So, you can press Ctrl-N for switching mailbox among all of unread mailbox. Or, use Sidebar (in mutt-patch), write the follow lines in .muttrc: bind index \CN sidebar-next bind index \CP sidebar-prev bind index \CO sidebar-open bind pager \CN sidebar-next bind pager \CP sidebar-prev bind pager \CO sidebar-open
good luck!