unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Tulio Magno Quites Machado Filho <tuliom@ascii.art.br>,
	notmuch@notmuchmail.org
Subject: Re: Feature request: Search header Reply-to when using search prefix from
Date: Thu, 12 Aug 2021 10:34:10 -0700	[thread overview]
Message-ID: <87mtpma7ot.fsf@tethera.net> (raw)
In-Reply-To: <87tuk7d6ay.fsf@linux.ibm.com>

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

      reply	other threads:[~2021-08-12 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26 16:24 Feature request: Search header Reply-to when using search prefix from Tulio Magno Quites Machado Filho
2021-08-02 15:37 ` David Bremner
2021-08-02 18:56   ` Tulio Magno Quites Machado Filho
2021-08-12 17:34     ` David Bremner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtpma7ot.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=tuliom@ascii.art.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).