aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAustin Clements <amdragon@mit.edu>2014-10-13 02:20:03 -0400
committerDavid Bremner <david@tethera.net>2015-08-14 18:23:49 +0200
commitcb08a2ee019e52dc29ba393d139fce8d7282c632 (patch)
tree77e3d75086d8e257ef3abfdf388e6aa2d3a81ff2 /doc
parentf76d8f82dd004cf14426a91e8a80dcd2a4b97317 (diff)
lib: Add "lastmod:" queries for filtering by last modification
The implementation is essentially the same as the date range search prior to Jani's fancy date parser.
Diffstat (limited to 'doc')
-rw-r--r--doc/man7/notmuch-search-terms.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst
index 1d27ac1e..e71a5255 100644
--- a/doc/man7/notmuch-search-terms.rst
+++ b/doc/man7/notmuch-search-terms.rst
@@ -54,6 +54,8 @@ indicate user-supplied values):
- date:<since>..<until>
+- lastmod:<since>..<until>
+
The **from:** prefix is used to match the name or address of the sender
of an email message.
@@ -124,6 +126,12 @@ The time range can also be specified using timestamps with a syntax of:
Each timestamp is a number representing the number of seconds since
1970-01-01 00:00:00 UTC.
+The **lastmod:** prefix can be used to restrict the result by the
+database revision number of when messages were last modified (tags
+were added/removed or filenames changed). This is usually used in
+conjunction with the **--uuid** argument to **notmuch search**
+to find messages that have changed since an earlier query.
+
Operators
---------