Adding parentheses inverts query

Subject: Adding parentheses inverts query

Date: Tue, 27 Jan 2026 14:08:02 -0800

To: notmuch@notmuchmail.org

Cc:

From: Ackerley Tng


Hi!

I'm trying to show all the emails in a thread, but filter out all the
failed delivery reports:

This shows nothing as expected:

notmuch show --exclude=false --entire-thread=false '
thread:0000000000003cf0 and -from:mailer-daemon ' | grep mailer

But this still shows all the delivery reports

notmuch show --exclude=false --entire-thread=false '
thread:0000000000003cf0 and ( -from:mailer-daemon ) ' | grep mailer

Is the second query wrong, or is this a bug?


Thanks,


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

Thread: