diff options
| author | Michal Sojka <sojkam1@fel.cvut.cz> | 2014-09-19 20:16:40 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-01-18 11:01:26 +0100 |
| commit | 2a0a13a433e24076453da38f18d7d6053af34287 (patch) | |
| tree | 3171a0fffbae2adfe6482fbb11e028e9c8fa955a | |
| parent | 9d25c97d8b4464e65f8bd6705db47603c94af275 (diff) | |
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.
| -rw-r--r-- | emacs/notmuch-address.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
