Hi, I found this handy to provide a specific prefix for searches. For example, when you always want to search only the last 2 years of emails, then you can set the variable notmuch-query-prefix to "date:2y..now ".
Sebastian Sebastian Fischmeister (1): custom prefix emacs/notmuch.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.3.5