On Sat, Dec 22, 2012 at 01:31:02PM +0000, Chris Green wrote:
> On Sat, Dec 22, 2012 at 07:03:23AM +1300, Chris Bannister wrote:
> > On Fri, Dec 21, 2012 at 03:45:06PM +0000, Chris Green wrote:
> >
> > Just a quick grep through the docs reveals:
> >
> > When changing folders, Mutt fills the prompt with the first folder from
> > the mailboxes list containing new mail (if any), pressing <Space> will cycle
> > through folders with new mail. The (by default unbound) function
> > <next-unread-mailbox> in the index can be used to immediately open the
> > next folder with unread mail (if any).
> >
> > Could you try that, and see what happens?
> >
> I will, I have been playing with this quite a lot recently. Currently
> I have:-
>
> set mail_check_recent=no
> set mark_old=no
>
> and 'c' doesn't seem to find N[ew] or [O]ld mail - so what *does* it do
> that's remotely useful? I'll try assigning a key to next-unread-mailbox
> and see what that does for me.
>
It does what I want (and have always wanted).
I have added:-
bind index n next-unread-mailbox
... and now I can find new mail in all my (mbox) mailboxes without any
stupid requirements for setting access times or whatever to the files.
I always thought it should be simple and it is!
Why isn't this the default set-up for mutt?
It is somewhat slower than 'c' but not really significantly so where
all my mail is in local mbox files.
--
Chris Green