[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: marking a message as "read"
From:       "Kevin J. McCarthy" <kevin () 8t8 ! us>
Date:       2019-09-06 20:29:41
Message-ID: 20190906202941.GB1840 () afu ! lan
[Download RAW message or body]


On Fri, Sep 06, 2019 at 07:50:36AM -0700, Kevin J. McCarthy wrote:
>If you have both "new" and "old" messages in the mailbox and want to 
>clear both of them (marking them as read), I would suggest using 
>something like
>  <tag-pattern>~U<enter><tag-prefix-cond><clear-flag>O
>Clearing "old" will actually set both "new" and "old" messages to 
>"read".

Just to follow-up to this and at the same time address Kurt's question, 
clearing "new" effectively does so too.  So
   <tag-pattern>~U<enter><tag-prefix-cond><clear-flag>N
would work just as well.

Internally, Mutt uses two different bits, "old", and "read" to represent 
the three states.  "<clear-flag>O" sets the read bit and unsets the old 
bit, while "<clear-flag>N" only sets the read bit.  However, Mutt 
patterns and display flags ignore the old bit if read is set.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic