Re: [PATCH] Switch to DEF from INITIAL-INPUT in completing-read.
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 24 Aug 2013 07:18:46 +0000 (10:18 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:35 +0000 (09:56 -0800)
9c/3faba67ceb4d85e95c03b1e04dc87a753d5761 [new file with mode: 0644]

diff --git a/9c/3faba67ceb4d85e95c03b1e04dc87a753d5761 b/9c/3faba67ceb4d85e95c03b1e04dc87a753d5761
new file mode 100644 (file)
index 0000000..6906065
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <tomi.ollila@iki.fi>\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 20F80431FCF\r
+       for <notmuch@notmuchmail.org>; Sat, 24 Aug 2013 00:19:03 -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 9hubbYAhZbQM for <notmuch@notmuchmail.org>;\r
+       Sat, 24 Aug 2013 00:18:54 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id C2006431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 24 Aug 2013 00:18:54 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 897E4100086;\r
+       Sat, 24 Aug 2013 10:18:46 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Christopher Wellons <wellons@nullprogram.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Switch to DEF from INITIAL-INPUT in completing-read.\r
+In-Reply-To: <87k3jdgnqe.fsf@susie.zeus.nullprogram.com>\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
+       <87k3jdgnqe.fsf@susie.zeus.nullprogram.com>\r
+User-Agent: Notmuch/0.16+11~gf21768f (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sat, 24 Aug 2013 10:18:46 +0300\r
+Message-ID: <m2y57r5zft.fsf@guru.guru-group.fi>\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: Sat, 24 Aug 2013 07:19:03 -0000\r
+\r
+On Fri, Aug 23 2013, Christopher Wellons <wellons@nullprogram.com> wrote:\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
+\r
+The compatibility tweaks doesn't seem to be enough ;/ \r
+\r
+One option would be to so somehow to detect that completing-read is\r
+actually replaced with something (anything?) else and arrange the\r
+arguments differently. I think in this case such a feature\r
+could be tolerated... :D\r
+\r
+\r
+Tomi\r