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

Attachment: signature.asc
Description: PGP signature

Reply via email to