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

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

Date: Fri, 22 Sep 2017 09:07:42 -0300

To: Attic Hermit, notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@tethera.net> writes:

> Attic Hermit <fjdksl@cock.li> writes:
>
>>> +john +friend -- tag:new AND (to:john@example.tld OR
>>> from:john@example.tld)
>>
>> First did I tried that form, but I felt that wasn't up to snuff because
>> I still have to write the same address two times.
>
> Currently I think that's the best you can do. You may be interested in
> defining a predefined query
>
> notmuch config query.fromtojohn "to:john@example.tld OR from:john@example.tld"
>
> then you can use
>
> +john +friend -- tag:new AND (to:john@example.tld OR from:john@example.tld) query:fromtojohn

that should be

+john +friend -- tag:new AND query:fromtojohn
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: