On Mon, Apr 08, 2013 at 11:19:04AM +0300, Nikola Petrov wrote:
> On Sun, Apr 07, 2013 at 08:45:14PM +0200, Alexander Huemer wrote:
> > I use mutt 1.5.21 with (among others) the sidebar patch.
> > Now I am in a folder, let's sag it's name is 'mutt-users'.
> > In this folder there are new emails (maked with 'N').
> > Then I hit the kit that is bound to 'next-unread-mailbox' and do some 
> > stuff there.
> > All other folders I have don't contain unread emails.
> > Now I hit my 'next-unread-mailbox' key again and get 'No mailboxes have 
> > new mail' and I am not warped back to 'mutt-users'.
> > Those emails are now marked 'O', note that they are still unread.
> > Obviously 'next-unread-mailbox' does not mean what I think.
> > The help text says 'open next mailbox with new mail', somehow strange.
> > The error message complains that there are no 'new' mails anywhere.  
> > 'unread' vs. 'new'. I think the phrasings to not match here.
> > What I would like to achieve is to get a key binding that beams me to 
> > the next folder that contains emails which _I_ have not yet read, i.e.  
> > marked 'N' or 'O'. I did not find anything in the docs or online.
>
> I have the following in my muttrc for a while now. I didn't like the 
> "Old
> messages" behaviour so....
> 
>     #Don't mark unread messages but seen as old
>     set mark_old=no
>     set mail_check_recent=no
> 
>     bind index,pager <TAB> next-unread-mailbox
> 
> this will take you to the next unread mailbox with tab. Not sure if
> there is any binding by default

Thanks for your answer, Nikola.
I am now using mark_old=no and mail_check_recent=no.
Binding <TAB> to next-unread-mailbox did not work for me for navigating 
to the next unread mail in the current folder. I still use a different 
key for that.
While the two set commands did have the desired effect I consider this a 
workaround and not a solution, since it's removing functionality to gain 
some other, but for me the fixup of 'next-unread-mailbox' has much 
higher value than the 'O' thing, and I guess the situation is similar 
for you.
>From my point of view this is a bug. I am not sure whether the 
functionality of next-unread-mailbox is plain wrong or whether a 
different function is missing.
When I find the time I will annoy a dev about that.

Kind regards,
-Alexander Huemer

Reply via email to