David Bremner <[email protected]> writes:

> Attic Hermit <[email protected]> writes:
>
>>> +john +friend -- tag:new AND (to:[email protected] OR
>>> from:[email protected])
>>
>> 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:[email protected] OR from:[email protected]"
>
> then you can use
>
> +john +friend -- tag:new AND (to:[email protected] OR from:[email protected]) 
> query:fromtojohn

that should be

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

Reply via email to