Brian May <brian@linuxpenguins.xyz> writes: > Hello, > > How do I search for emails containing multiple tags? > > I have tried: > > tag:unread tag:important > > However, this finds emails that contain either the unread tag or the > important tag. Not emails that contain both. > > Am I doing something wrong? 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/ d _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch