From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: v5 of regexp searching
Date: Thu, 16 Feb 2017 23:07:48 -0400 [thread overview]
Message-ID: <20170217030754.32069-1-david@tethera.net> (raw)
The first 3 patches are general cleanup of the way that the query parser is configured.
[patch v5 1/6] lib: merge internal prefix tables
[patch v5 2/6] lib: Let Xapian manage the memory for FieldProcessors
[patch v5 3/6] lib: create field processors from prefix table
This is id:20170121135917.22062-1-david@tethera.net, revised with
Tomi's comments, and error handling for missing trailing
delimiter. For the moment missing initial delimiter is ignored for
future compatibility with paths.
[patch v5 4/6] lib: regexp matching in 'subject' and 'from'
The next two are RFC. We discussed several options for dealing with
the fact that / is a valid message-id character. Here the idea is to
used a separate prefix mid: for potential regexp searches. Jani had
previously suggested trying both the regexp and non-regexp form of the
query. That might be a more DWIM ui, but it would have the potentially
surprising side effect of having id: match more than one message.
The first four patches can be merge earlier, if we want to continue
thinking about this UI (or just drop the last two patches). Also, the
id case needs doc and tests.
[patch v5 5/6] lib: add mid: as a synonym for id:
[patch v5 6/6] lib: Add regexp searching for mid: prefix
next reply other threads:[~2017-02-17 3:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 3:07 David Bremner [this message]
2017-02-17 3:07 ` [patch v5 1/6] lib: merge internal prefix tables David Bremner
2017-02-17 3:07 ` [patch v5 2/6] lib: Let Xapian manage the memory for FieldProcessors David Bremner
2017-02-19 21:43 ` David Bremner
2017-02-17 3:07 ` [patch v5 3/6] lib: create field processors from prefix table David Bremner
2017-02-26 19:35 ` Jani Nikula
2017-02-17 3:07 ` [patch v5 4/6] lib: regexp matching in 'subject' and 'from' David Bremner
2017-02-26 19:46 ` Jani Nikula
2017-02-17 3:07 ` [patch v5 5/6] lib: add mid: as a synonym for id: David Bremner
2017-02-26 19:52 ` Jani Nikula
2017-02-17 3:07 ` [patch v5 6/6] lib: Add regexp searching for mid: prefix 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=20170217030754.32069-1-david@tethera.net \
--to=david@tethera.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).