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

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

Date: Thu, 21 Sep 2017 23:10:38 -0300

To: Attic Hermit, notmuch@notmuchmail.org

Cc:

From: David Bremner


Attic Hermit <fjdksl@cock.li> writes:

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

How about

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

?

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

Thread: