Brian May <brian@linuxpenguins.xyz> writes: > David Bremner <david@tethera.net> writes: > >> This is a design-choice/quirk of the Xapian query parser, discussed >> under "Operators" in man notmuch-search-terms; terms with a common >> prefix are implicitely combined with an OR. >> I don't think that documentation has changed since 0.23, but you can >> compare with https://notmuchmail.org/manpages/notmuch-search-terms-7/ > > Ok, now I understand that text. Thanks. I tried using "tag:important and > tag:unread" yesterday, and it didn't work either. > > Today I am wondering if maybe I had threads that had some messages > marked important and some marked unread, but no individual messages > marked both unread and important. Oh well, maybe this was the real > reason I was having problems. You can test that theory with % notmuch search --output=messages tag:important and tag:unread There is a patch floating around [1] to support % notmuch search thread:{tag:important} and thread:{tag:unread} if that's the query you actually want. [1] http://mid.mail-archive.com/20171226010305.26579-1-david@tethera.net _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch