[PATCH] No initial input for completing-read.
    servilio 
    servilio at gmail.com
       
    Sun Mar 13 22:10:56 PDT 2011
    
    
  
Seeding the autocompletion with the first match makes it harder to see
what the other matches are, as all the extra characters would need to
be deleted before being able to see the matches.
---
 emacs/notmuch-address.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el
index 2960da9..fc2df12 100644
--- a/emacs/notmuch-address.el
+++ b/emacs/notmuch-address.el
@@ -57,7 +57,7 @@ line."
 	 (chosen (if (eq num-options 1)
 		     (car options)
 		   (completing-read (format "Address (%s matches): " num-options)
-				    (cdr options) nil nil (car options)
+				    options nil nil nil
 				    'notmuch-address-history))))
     (when chosen
       (push chosen notmuch-address-history)
-- 
1.7.4.1
    
    
More information about the notmuch
mailing list