]> git.notmuchmail.org Git - notmuch/commit
lib/parse-sexp: support saved s-expression queries
authorDavid Bremner <david@tethera.net>
Tue, 24 Aug 2021 15:17:39 +0000 (08:17 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 5 Sep 2021 00:07:19 +0000 (17:07 -0700)
commit9b9eb1d8bd6464f044facef9507c5988c3d953ca
tree6b3db0288b673d27c67169988a1b5249de42d906
parent81b9dbd110593d6b1a370efb3576bf39585af2ea
lib/parse-sexp: support saved s-expression queries

It turns out there is not really much code in query-fp.cc useful for
supporting the new syntax. The code we could potentially factor out
amounts to calling notmuch_database_get_config; both the key
construction and the parsing of the results are specific to the query
syntax involved.
lib/parse-sexp.cc
test/T081-sexpr-search.sh