From: Michal Sojka Date: Fri, 19 Sep 2014 17:51:40 +0000 (+0200) Subject: Emacs: Display a message when generating address completion candidates X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/commitdiff_plain/81537cbadae07a7824824f0bbc6f1926edeccc3f Emacs: Display a message when generating address completion candidates The TAB-initiated address completion generates completion candidates synchronously, blocking the UI. Since this can take long time, it is better to let the use know what's happening. --- diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el index fa65cd52..fde3c1b2 100644 --- a/emacs/notmuch-address.el +++ b/emacs/notmuch-address.el @@ -70,7 +70,8 @@ to know how address selection is made by default." (point))) (orig (buffer-substring-no-properties beg end)) (completion-ignore-case t) - (options (notmuch-address-options orig)) + (options (with-temp-message "Looking for completion candidates..." + (notmuch-address-options orig))) (num-options (length options)) (chosen (cond ((eq num-options 0)