On Wed 2020-05-13 20:00:24 +1000, Tom Fitzhenry wrote: > notmuch-expr allows you to write notmuch search queries in sexp style like: > > (notmuch-expr > '(and > (to "emacs-devel") > "info manual" > (or > (not (is "spam")) > (is "important")))) > > which will generate the textual query: > > "to:emacs-devel AND (NOT is:spam OR is:important) AND \"info manual\"" I like this idea! > +(defun notmuch-expr--quote (s) > + ;; FIXME Escape s. > + (concat "\"" s "\"")) Shouldn't this FIXME be resolved before we consider merging? --dkg