On Mon, 26 Apr 2010 11:03:36 -0700, Carl Worth <[email protected]> wrote:
> Thanks. I've pushed this. Bonus points to someone who fixes it to avoid
> printing "1 matches".

It shouldn't do that:

  (let* (...
         (num-options (length options))
         (chosen (if (eq num-options 1)
                     (car options)
                   (completing-read (format "Address (%s matches): " 
num-options)
                                    (cdr options) nil nil (car options)
                                    'notmuch-address-history))))

Does it?

More interesting is the zero matches case...

dme.
-- 
David Edmondson, http://dme.org

Attachment: pgpP5dzNehuk3.pgp
Description: PGP signature

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to