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

David Bremner david at tethera.net
Thu Sep 21 19:10:38 PDT 2017


Attic Hermit <fjdksl at cock.li> writes:

> 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
>

How about

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

?



More information about the notmuch mailing list