Re: contact instead of (to or from)

Subject: Re: contact instead of (to or from)

Date: Fri, 10 Jun 2022 11:51:10 +0800

To: erik colson

Cc: notmuch@notmuchmail.org

From: 杨令


> 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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: