Michal Sojka <sojkam1@fel.cvut.cz> writes: > notmuch-company.el hooks itself into message-mode and uses > company-mode to offer the completion to the user. The file is put into > the contrib directory which means that the use has to install it > himself. This is because company-mode is not a part of Emacs and > bytecompiling notmuch-company.el fails due to used --quick option that > causes user installed packages to be ignored. what about for now just putting ;; -*-no-byte-compile: t; -*- at the top of the file? It seems usable uncompiled to me. Then somebody who really wants it compiled can figure out how to do the conditional compilation. > It would probably make sense to implement another completion frontend > based only on Emacs built-in functionality and integrate it with > notmuch-addresses.el. Agreed. > + "`company-mode' completion back-end for `nevermore (nm)'." missed "nevermore" ;) > > +(defun notmuch-flatten-thread-set (thread-set) > + "Convert the result of 'notmuch show' to the plain list of messages." > +(defun notmuch-flatten-thread (thread) > + > +(defun notmuch-flatten-thread-node (thread-node) what about putting those functions in notmuch-query.el? > +(defun notmuch-async-harvest () > + "Collect possible addresses for completion. It queries the logically it seems like this might belong in notmuch-address.el, even if none of the functions in in it currently use d