notmuch-search not excluding excluded tags

Subject: notmuch-search not excluding excluded tags

Date: Mon, 15 Apr 2024 10:59:00 -0700

To: notmuch@notmuchmail.org

Cc:

From: Richard Stanton


I have spam and trash defined as excluded tags for notmuch searches and when I run (at the command line) the command

notmuch search tag:unread

I get a list of unread messages that does *not* include unread spam or trash emails. But when I put the following into my *scratch* buffer and execute it:

(notmuch-search “tag:unread”)

I now get ALL unread messages, including those tagged as spam or trash. Am I missing something?

Thanks.

Richard Stanton

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: