unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: 杨令 <yangling1984@gmail.com>
To: erik colson <eco@ecocode.net>
Cc: notmuch@notmuchmail.org
Subject: Re: contact instead of (to or from)
Date: Fri, 10 Jun 2022 11:51:10 +0800	[thread overview]
Message-ID: <20220610035110.uvbfvd5lt6afqeyg@yangling-inspiron155510> (raw)
In-Reply-To: <874k0ttqhr.fsf@code.pm>

> Coming from mu4e I loved the query "contact" which includes "to" or
> "from" the contact in the results.
> Is there something equivalent in notmuch?
⮩ Hi, Erik, I don't think notmuch has a built-in `contact` query, but I
think it's easy to build a saved search.

  (add-to-list 'notmuch-saved-searches '(:name "query" :query "to:... or from:..." :key "r"))

`:key` part is optional.

--
L.Yang

On Fri 2022-06-10 00:35:12, erik colson wrote:
> Date: Fri, 10 Jun 2022 00:35:12 +0200
> From: erik colson <eco@ecocode.net>
> To: notmuch@notmuchmail.org
> Subject: contact instead of (to or from)
> 
> Hi,
> 
> Coming from mu4e I loved the query "contact" which includes "to" or
> "from" the contact in the results.
> Is there something equivalent in notmuch?
> 
> thx
> -- 
> erik colson
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org\r

  reply	other threads:[~2022-06-10  3:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09 22:35 contact instead of (to or from) erik colson
2022-06-10  3:51 ` 杨令 [this message]
2022-06-10  7:47   ` Michael J Gruber
2022-06-10  8:43     ` erik colson
2022-06-10  7:14 ` Fraga, Eric

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=20220610035110.uvbfvd5lt6afqeyg@yangling-inspiron155510 \
    --to=yangling1984@gmail.com \
    --cc=eco@ecocode.net \
    --cc=notmuch@notmuchmail.org \
    /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).