On Mon, Dec 30, 2024 at 07:17:13PM -0800, googly.negotiator...@aceecat.org 
wrote:
> On Mon, Dec 30, 2024 at 11:35:42PM +0000, Christian Ebert wrote:
> 
> > > is there a way to make the command which moves to the next new or
> > > unread message in the pager (bound to Tab key in the pager keymap)
> > > go to the next mailbox with new messages (or unread, but that's
> > > not too important) when there are no more in the current mailbox?
> 
> > Not exactly what you want, but did you try the next-unread-mailbox
> > function?
> 
> Hmmm. I knew there was *some* command like that, I did not remember
> it or how to find it this time. Thank you.
> 
> However, it is listed as an available (not actual) binding in index
> mode. Would it work to bind it in pager mode?
> 
> As I wrote in the other subthread: the whole point of this question is
> that I want to avoid dropping into index mode when I run out of new
> and / or unread messages in the current mailbox, and jump straight to
> reading the first interesting message in the next mailbox that
> contains one.

I don't know if it helps you, but I use '<change-folder>\r', which can
be bound as a macro like so:

.mutt/options:macro pager g "<change-folder>\r"
.mutt/options:macro index , "<change-folder>?<tab>"
.mutt/options:macro index g "<change-folder>\r"

For me, that will typically let me cycle through to the next mailbox
defined in $mailboxes that has new mail, in the order they're defined
there.

You can also see the value of $change_folder_next.

/w

Reply via email to