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

Attic Hermit fjdksl at cock.li
Thu Sep 21 18:54:34 PDT 2017


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

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

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

+john +friend -- tag:new AND from_or_to:john at 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 at example.tld".

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

-- 
Attic Hermit


More information about the notmuch mailing list