Re: Using Xapian synonyms with notmuch

Subject: Re: Using Xapian synonyms with notmuch

Date: Thu, 30 May 2019 07:19:22 -0300

To: Xu Wang, notmuch@notmuchmail.org

Cc:

From: David Bremner


Xu Wang <xuwang762@gmail.com> writes:

> I have some contacts who go by several names (mostly people who use
> their native name in addition to sometimes using a name easier to
> pronounce for others; but also some secret agents). I often want to do
> something like "from:James" and where notmuch gives me back results
> with emails from "James", "Jimmy" and from "Jaime".
>

I think the only solution that is possible with current notmuch is to
use a stored query

$ notmuch config set query.james "from:James or from:Jimmy or from Jaime"
$ notmuch search query:james and date:today

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: