aboutsummaryrefslogtreecommitdiff
path: root/emacs/Makefile.local
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2015-10-27 00:22:49 +0100
committerDavid Bremner <david@tethera.net>2015-10-27 08:01:15 -0300
commit4acbc1f7d36060ff1678e576495f8122f4d4cbb3 (patch)
treed715c3c6858776bd86f94b6a068552a7202351b6 /emacs/Makefile.local
parent89f78d38c1f7c9416e5bd9521dd694bb4f90572f (diff)
Emacs: Add address completion based on company-mode
When company-mode is available (Emacs >= 24), address completion candidates are shown in a nice popup box. This is triggered either by pressing TAB or by waiting a while during typing an address. The completion is based entirely on the asynchronous address harvesting from notmuch-address.el so the GUI is theoretically not blocked for long time. The completion works similarly as the TAB-initiated completion from notmuch-address.el, i.e. quick harvest based on user input is executed first and only after full harvesting is finished, in-memory cached data is used. [Improved by David Bremner]
Diffstat (limited to 'emacs/Makefile.local')
-rw-r--r--emacs/Makefile.local1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index 1109cfa6..4c06c52f 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -20,6 +20,7 @@ emacs_sources := \
$(dir)/notmuch-print.el \
$(dir)/notmuch-version.el \
$(dir)/notmuch-jump.el \
+ $(dir)/notmuch-company.el
$(dir)/notmuch-version.el: $(dir)/Makefile.local version.stamp
$(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl