Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> writes:
> David Bremner <david@tethera.net> writes:
>
>> I personally prefer to search for lists by List-Id. Can you explain a
>> bit why that doesn't work for you?
>
> Me too, but in many cases I have to search for the author of the message without
> remembering if the message was sent directly to me or via a mailing list.
>
One option to consider is the upcoming s-expression query syntax.  The
latest version [1] includes the possibility to define a macro like
(macro (From user) (or (from user) (Reply-To user)))
and use it like
$ notmuch search --query=sexp '(From user)'
[1]: id:20210812170728.1348333-1-david@tethera.net
     https://nmbug.notmuchmail.org/nmweb/search/id%3A20210812170728.1348333-1-david%40tethera.net
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org