[PATCH] No initial input for completing-read.
authorservilio <servilio@gmail.com>
Mon, 14 Mar 2011 05:10:56 +0000 (01:10 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:59 +0000 (09:37 -0800)
22/d4269c50066048810e696ec5f078579e27cb62 [new file with mode: 0644]

diff --git a/22/d4269c50066048810e696ec5f078579e27cb62 b/22/d4269c50066048810e696ec5f078579e27cb62
new file mode 100644 (file)
index 0000000..10de212
--- /dev/null
@@ -0,0 +1,81 @@
+Return-Path: <servilio@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E6E47429E25\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Mar 2011 22:10:57 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 4YpxvBPqxfwi for <notmuch@notmuchmail.org>;\r
+       Sun, 13 Mar 2011 22:10:57 -0700 (PDT)\r
+Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
+       [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 6232F431FD0\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Mar 2011 22:10:57 -0700 (PDT)\r
+Received: by mail-fx0-f53.google.com with SMTP id 11so2821980fxm.26\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Mar 2011 22:10:57 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=domainkey-signature:mime-version:date:message-id:subject:from:to\r
+       :content-type; bh=bnKMOz9vSsER1sSc5FiVdv3OeHrQCh4+Z6v/cjaqsP4=;\r
+       b=vzpI/wERXgmXHrH+IJ2IHxnOmWr5B6Ti3eQco7625aOmeTGI5Hjvj+YEUSg2k1DMjW\r
+       IptWjYQKkqlT4QJwxTqs+kMUfCdcI/LzkOSbYdjcI+sciGWKJsEKaF8i4U1jhElPbZH9\r
+       yicVYNv3sVri3zt7+ytPIL3s7MLfSaLP5uYWU=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
+       h=mime-version:date:message-id:subject:from:to:content-type;\r
+       b=l36J1W0roJzfWgWZCPFjwh7wmpKcIzWtp09RSP/LuTZepFX0PnOz0FuJFbgGH4MfKG\r
+       D1Ee0Qg54vXgIZ66yaJk2Bo3hMlOSusP4TRsou5hlHhqxrKUq17CVuyk+GD38G3cQmrm\r
+       2bgaKlBdlTJ8rcoEXClrGgWhD0o6AHEj9BqFE=\r
+MIME-Version: 1.0\r
+Received: by 10.223.20.216 with SMTP id g24mr408681fab.115.1300079456943; Sun,\r
+       13 Mar 2011 22:10:56 -0700 (PDT)\r
+Received: by 10.223.102.73 with HTTP; Sun, 13 Mar 2011 22:10:56 -0700 (PDT)\r
+Date: Mon, 14 Mar 2011 01:10:56 -0400\r
+Message-ID: <AANLkTinnWate_0-WPdG1pXs0sFo1nUi5Tj86rZDWTq5E@mail.gmail.com>\r
+Subject: [PATCH] No initial input for completing-read.\r
+From: servilio <servilio@gmail.com>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Content-Type: text/plain; charset=UTF-8\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 14 Mar 2011 05:10:58 -0000\r
+\r
+Seeding the autocompletion with the first match makes it harder to see\r
+what the other matches are, as all the extra characters would need to\r
+be deleted before being able to see the matches.\r
+---\r
+ emacs/notmuch-address.el |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el\r
+index 2960da9..fc2df12 100644\r
+--- a/emacs/notmuch-address.el\r
++++ b/emacs/notmuch-address.el\r
+@@ -57,7 +57,7 @@ line."\r
+        (chosen (if (eq num-options 1)\r
+                    (car options)\r
+                  (completing-read (format "Address (%s matches): " num-options)\r
+-                                  (cdr options) nil nil (car options)\r
++                                  options nil nil nil\r
+                                   'notmuch-address-history))))\r
+     (when chosen\r
+       (push chosen notmuch-address-history)\r
+-- \r
+1.7.4.1\r