unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* WIP: fixes for implicit operators and subqueries
@ 2019-09-01  1:37 David Bremner
  2019-09-01  1:37 ` [WIP2 1/5] lib: rename _debug_query to _notmuch_query_debug, make extern David Bremner
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Bremner @ 2019-09-01  1:37 UTC (permalink / raw)
  To: notmuch

This obsoletes the patches discussed at

     id:871rx38q8y.fsf@tethera.net

and

     id:20190821114126.23540-2-david@tethera.net

I think I still have a spelling error in the commit message that Tomi
caught, and I need to update notmuch-search-terms(7). Before I do
that, please have a look at the new tests and see if the expected
behaviour in the tests makes sense.

We still won't have working subqueries for boolean fields,
reasons discussed in

    https://trac.xapian.org/ticket/795
    
field:"(foo bar)" does not currently work for e.g. tag: or id:

There is also the unfortunate aspect that non-regex supporting fields
like "to" support Xapian to:(david tethera), but regex supporting
fields need from:"(david tethera)". It's not obvious how to fix this
without radically changing the regex syntax (e.g. to use distinct
prefixes rather than //), and I think that would annoy more people
than the quirky subquery quoting.

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

end of thread, other threads:[~2019-09-01  1:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-01  1:37 WIP: fixes for implicit operators and subqueries David Bremner
2019-09-01  1:37 ` [WIP2 1/5] lib: rename _debug_query to _notmuch_query_debug, make extern David Bremner
2019-09-01  1:37 ` [WIP2 2/5] test: add known broken tests for implicit operators David Bremner
2019-09-01  1:37 ` [WIP2 3/5] lib: introduce N_F_GROUP and use it to fix implicit AND for from: David Bremner
2019-09-01  1:37 ` [WIP2 4/5] test: add known broken tests for parenthesized subqueries David Bremner
2019-09-01  1:37 ` [WIP2 5/5] lib: special case parenthesized subqueries in regex fields 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).