From: David Bremner <david@tethera.net>
To: Xu Wang <xuwang762@gmail.com>, notmuch@notmuchmail.org
Subject: Re: Using Xapian synonyms with notmuch
Date: Thu, 30 May 2019 07:19:22 -0300 [thread overview]
Message-ID: <87blzk5jo5.fsf@tethera.net> (raw)
In-Reply-To: <CAJhTkNh9FQ+qgcxLtOQqYeYsFGwVptwztv6Rt7sQSYWP_N69VQ@mail.gmail.com>
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
next prev parent reply other threads:[~2019-05-30 10:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-30 6:10 Using Xapian synonyms with notmuch Xu Wang
2019-05-30 10:19 ` David Bremner [this message]
[not found] ` <CAJhTkNjKRP-3pCxM2LumRrtmKXE6aRWAtR_9DqP-+pxLyVp_+g@mail.gmail.com>
2019-05-31 10:46 ` David Bremner
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=87blzk5jo5.fsf@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=xuwang762@gmail.com \
/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).