diff options
| author | David Bremner <david@tethera.net> | 2021-08-24 08:17:37 -0700 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-09-04 17:07:19 -0700 |
| commit | 6ab2d9b1a2e62b76960df8e80ff2a45d9c6a8551 (patch) | |
| tree | 2aa96273ef83eecfd6baf36542c1caaf971128dd /doc | |
| parent | 036734252d07d8568937073d4f2d366bcb06bc4e (diff) | |
lib/parse-sexp: handle saved queries
This provides functionality analogous to query: in the Xapian
QueryParser based parser. Perhaps counterintuitively, the saved
queries currently have to be in the original query syntax (i.e. not
s-expressions).
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/man7/notmuch-sexp-queries.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/man7/notmuch-sexp-queries.rst b/doc/man7/notmuch-sexp-queries.rst index a9fd2f2b..db3f8837 100644 --- a/doc/man7/notmuch-sexp-queries.rst +++ b/doc/man7/notmuch-sexp-queries.rst @@ -153,6 +153,12 @@ that are neither operators nor fields. those matching all of |q1| ... |qn|. Supported in most term [#not-path]_ or phrase fields. Most commonly used in the ``thread`` field. +``(query`` *atom* ``)`` + Expand to the saved query named by *atom*. See + :any:`notmuch-config(1)` for more. Note that the saved query must + be in infix syntax (:any:`notmuch-search-terms(7)`). Not supported + inside fields. + ``(regex`` *atom* ``)`` ``(rx`` *atom* ``)`` Interpret *atom* as a POSIX.2 regular expression (see :manpage:`regex(7)`). This applies in term fields and a subset [#not-phrase]_ of |
