Is there a prefix that performs from: and to: simultaneously?

Subject: Is there a prefix that performs from: and to: simultaneously?

Date: Fri, 22 Sep 2017 10:54:34 +0900

To: notmuch@notmuchmail.org

Cc:

From: Attic Hermit


Batch file of my initial tagging script includes queries like below:

+john +friend -- tag:new AND from:john@example.tld
+john +friend -- tag:new AND to:john@example.tld

But I want to compress the above in one line like:

+john +friend -- tag:new AND from_or_to:john@example.tld

I know that I can achieve it approximately by querying without prefix,
but it'll also include the mails that include the string
"john@example.tld".

I look through the manual, man:notmuch-search-terms, but I couldn't find
the prefix I want.

-- 
Attic Hermit
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: