notmuch-query.el: new file to support access to the notmuch database.
authorDavid Bremner <bremner@unb.ca>
Mon, 5 Apr 2010 16:46:16 +0000 (13:46 -0300)
committerCarl Worth <cworth@cworth.org>
Mon, 5 Apr 2010 18:08:45 +0000 (11:08 -0700)
commitc2f3710a786dc8d610ccd8138ccfe5089686bec2
tree430fc9d4d4df8bb5a93825d8d54b2943509ffc27
parent9eb360329929258fb243cfb5095989ba45391109
notmuch-query.el: new file to support access to the notmuch database.

Initially this file provides one main function
notmuch-query-get-threads, which takes a set of search terms, and
returns a parsed set of matching threads as a lisp data structure.

A set of notmuch-query-map-* functions are provided to help map
functions over the data structure.

The function notmuch-query-get-message-ids uses this machinery to get
the set of message-ids matching a query.

Edited-by: Carl Worth <cworth@cworth.org>: Change comment syntax,
(";;" rather than ";" to make emacs-lisp mode happy), and eliminate
some excess whitespace, as suggested by David Edmonson.
emacs/Makefile.local
emacs/notmuch-query.el [new file with mode: 0644]