On Sun Oct25'26 07:33:56AM, Tim Chase wrote:
> From: Tim Chase <[email protected]>
> Date: Sun, 25 Oct 2026 07:33:56 -0500
> To: [email protected]
> Subject: Re: how to mark all unread messages read in mutt?
> 
> On 2026-10-25 08:05, Michael Kjörling wrote:
> > On 24 Oct 2026 20:46 -0500, from [email protected] (Tim Chase):

Thank you to Michael and to Tim for both suggestions.

> > >  T~U;Wn

So, not being very familiar with much of mutt, I had some trouble getting this 
to work, until I realized that there needs to a bit of a lag between typing the 
; and the W.

So, the sequence is:

T~U -> return -> ; -> Wn 

and this works very well. 

I presume that I can replace the Wn with d in case I want to delete all the 
unread messages?

> > >
> > >
> > >   <tag-pattern>~U<tag-prefix><clear-flag>n
> > 
> > Wouldn't you need a <enter> before the <tag-prefix> to terminate
> > input?

Thank you! The following now works:

macro index <F3> "<tag-pattern>~U<enter><tag-prefix><clear-flag>n" 

However, F3 is a bit too risky in my view. I want to bind it to a Windows or an 
Alt key. How do I do that?

I tried <A-r> but it did not work with using <Alt-r>

Many thanks again, and best wishes,
Ranjan

Reply via email to