notmuch/emacs/Makefile.local
David Bremner c2f3710a78 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.
2010-04-05 11:08:45 -07:00

27 lines
743 B
Makefile

# -*- makefile -*-
dir := emacs
emacs_sources := \
$(dir)/notmuch-lib.el \
$(dir)/notmuch.el \
$(dir)/notmuch-query.el \
$(dir)/notmuch-show.el
emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
emacs: $(emacs_bytecode)
install-emacs: install emacs
$(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir))
$(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir))
@echo ""
@echo "The notmuch emacs client is now installed."
@echo ""
@echo "To run this, each user should add the following line to the ~/.emacs file:"
@echo ""
@echo " (require 'notmuch)"
@echo ""
@echo "And should then run \"M-x notmuch\" from within emacs or run \"emacs -f notmuch\""
@echo ""
CLEAN := $(CLEAN) $(emacs_bytecode)