Re: [PATCH v2] emacs: add notmuch-expr, sexp-style queries

2020-11-22 Thread David Bremner
Tom Fitzhenry writes: > +(require 'ert) > +(require 'notmuch-expr) Any ideas (from anyone) how we can run these tests in the notmuch test suite? I guess some kind of shim might be needed, but perhaps it can just be wrapped in one or more test_emacs calls. > + > +(defmacro notmuch-expr (query)

Re: [PATCH v2] emacs: add notmuch-expr, sexp-style queries

2020-11-16 Thread Jonas Bernoulli
Tom Fitzhenry writes: > From: Tom Fitzhenry > > 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

Re: [PATCH v2] emacs: add notmuch-expr, sexp-style queries

2020-11-16 Thread David Edmondson
On Friday, 2020-11-13 at 23:01:22 +11, Tom Fitzhenry wrote: > From: Tom Fitzhenry > > 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

[PATCH v2] emacs: add notmuch-expr, sexp-style queries

2020-11-13 Thread Tom Fitzhenry
From: Tom Fitzhenry 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