]> git.cworth.org Git - notmuch/commit - test/T081-sexpr-search.sh
lib/parse-sexp: parse user headers
authorDavid Bremner <david@tethera.net>
Tue, 24 Aug 2021 15:17:35 +0000 (08:17 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 5 Sep 2021 00:07:19 +0000 (17:07 -0700)
commita07ef8abf5248c1128ddc75b8139ae807a88abd9
treee94722f9c94a734f982f68a5a4b0bd9c401d3df5
parentcc5992a30470222791c24849da04a3c0403ecce5
lib/parse-sexp: parse user headers

One subtle aspect is the replacement of _find_prefix with
_notmuch_database_prefix, which understands user headers. Otherwise
the code mainly consists of creating a fake prefix record (since the
user prefixes are not in the prefix table) and error handling.
doc/man7/notmuch-sexp-queries.rst
lib/parse-sexp.cc
test/T081-sexpr-search.sh