aboutsummaryrefslogtreecommitdiff
path: root/doc/man7
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-08-24 08:17:35 -0700
committerDavid Bremner <david@tethera.net>2021-09-04 17:07:19 -0700
commita07ef8abf5248c1128ddc75b8139ae807a88abd9 (patch)
treee94722f9c94a734f982f68a5a4b0bd9c401d3df5 /doc/man7
parentcc5992a30470222791c24849da04a3c0403ecce5 (diff)
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.
Diffstat (limited to 'doc/man7')
-rw-r--r--doc/man7/notmuch-sexp-queries.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/man7/notmuch-sexp-queries.rst b/doc/man7/notmuch-sexp-queries.rst
index e1c01aa5..a9fd2f2b 100644
--- a/doc/man7/notmuch-sexp-queries.rst
+++ b/doc/man7/notmuch-sexp-queries.rst
@@ -224,6 +224,10 @@ EXAMPLES
``(not (to *))``
Match messages with an empty or invalid 'To' and 'Cc' field.
+``(List *)``
+ Match messages with a non-empty List-Id header, assuming
+ configuration ``index.header.List=List-Id``
+
NOTES
=====