unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* v5 of regexp searching
@ 2017-02-17  3:07 David Bremner
  2017-02-17  3:07 ` [patch v5 1/6] lib: merge internal prefix tables David Bremner
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: David Bremner @ 2017-02-17  3:07 UTC (permalink / raw)
  To: notmuch


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-02-26 19:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17  3:07 v5 of regexp searching David Bremner
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

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).