Re: Tagging messages sometimes causes them to be marked as old

Subject: Re: Tagging messages sometimes causes them to be marked as old

Date: Thu, 31 Aug 2023 13:24:25 +0000

To: andreas.kahari@abc.se, notmuch@notmuchmail.org

Cc:

From: David Bremner


Andreas Kusalananda Kähäri <andreas.kahari@abc.se> writes:


> (and similarly for the other accounts; it does not matter if I do a
> "path:" or modify it into a "folder:" search).  This works and tags the
> messages correctly, however, for some reason, any unread mail are also
> marked as "old" in mutt (the mail file is moved from the "new" to the
> "cur" directory in the maildir).  This does not happen with the tagging
> done by the original "post-new" hook shown above.  It *does* happen if I
> add the tagging to the hook script.
>

Short answer: the mutt concept of "old" conflicts with the maildir
definition. If you want any maildir flags, your message cannot be in
new/, which iirc is what mutt means by "not old". You could turn off
maildir flag synching (but of course that has side effects).
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: