Re: Feature request: Search header Reply-to when using search prefix from

Subject: Re: Feature request: Search header Reply-to when using search prefix from

Date: Thu, 12 Aug 2021 10:34:10 -0700

To: Tulio Magno Quites Machado Filho, notmuch@notmuchmail.org

Cc:

From: David Bremner


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

Thread: