Re: [PATCH] Switch to DEF from INITIAL-INPUT in completing-read.
authorChristopher Wellons <wellons@nullprogram.com>
Fri, 23 Aug 2013 02:11:37 +0000 (22:11 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:33 +0000 (09:56 -0800)
a8/e8bc57d40e3b78f51859ee88b9cf159ac24ed6 [new file with mode: 0644]

diff --git a/a8/e8bc57d40e3b78f51859ee88b9cf159ac24ed6 b/a8/e8bc57d40e3b78f51859ee88b9cf159ac24ed6
new file mode 100644 (file)
index 0000000..1731944
--- /dev/null
@@ -0,0 +1,70 @@
+Return-Path: <wellons@nullprogram.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 1E533431FC2\r
+       for <notmuch@notmuchmail.org>; Thu, 22 Aug 2013 19:11:58 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 rnjsi5VbZEHp for <notmuch@notmuchmail.org>;\r
+       Thu, 22 Aug 2013 19:11:52 -0700 (PDT)\r
+Received: from mail.nullprogram.com (mail.nullprogram.com [192.241.191.137])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 2156B431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 22 Aug 2013 19:11:52 -0700 (PDT)\r
+Received: from localhost ([127.0.0.1] helo=susie.zeus.nullprogram.com)\r
+       by mail.nullprogram.com with esmtp (Exim 4.80)\r
+       (envelope-from <wellons@nullprogram.com>)\r
+       id 1VCgql-0003U3-Qi; Fri, 23 Aug 2013 02:11:47 +0000\r
+From: Christopher Wellons <wellons@nullprogram.com>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Switch to DEF from INITIAL-INPUT in completing-read.\r
+In-Reply-To: <m21u5lbqld.fsf@guru.guru-group.fi>\r
+References: <1377103488-7425-1-git-send-email-wellons@nullprogram.com>\r
+       <m2r4dmrgwg.fsf@guru.guru-group.fi>\r
+       <m21u5lbqld.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 22 Aug 2013 22:11:37 -0400\r
+Message-ID: <87k3jdgnqe.fsf@susie.zeus.nullprogram.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Fri, 23 Aug 2013 02:11:58 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+\r
+>> I agree that this behaves better, but the empty content with completing-read\r
+>> looks a bit confusing (if arrow keys or tab aren't pressed)\r
+\r
+You're right. Taking a look at this with completing-read I see it's not\r
+obvious what defaulting will do.\r
+\r
+> we could also drop the default/initial input:\r
+\r
+The default is usually what I want to select, so I like being able to\r
+just hit tab/enter to select it.\r
+\r
+>> I don't know how ido-replaced completing-read (just ido-completing-read ?)\r
+>> works there, though.\r
+\r
+I'm using ido-ubiquitous, which installs ido-completing-read overtop\r
+completing-read along with some compatability tweaks.\r