Re: [PATCH] Switch to DEF from INITIAL-INPUT in completing-read.

Subject: Re: [PATCH] Switch to DEF from INITIAL-INPUT in completing-read.

Date: Sat, 24 Aug 2013 10:18:46 +0300

To: Christopher Wellons, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Fri, Aug 23 2013, Christopher Wellons <wellons@nullprogram.com> wrote:

> Tomi Ollila <tomi.ollila@iki.fi> writes:
>
>>> I agree that this behaves better, but the empty content with completing-read
>>> looks a bit confusing (if arrow keys or tab aren't pressed)
>
> You're right. Taking a look at this with completing-read I see it's not
> obvious what defaulting will do.
>
>> we could also drop the default/initial input:
>
> The default is usually what I want to select, so I like being able to
> just hit tab/enter to select it.
>
>>> I don't know how ido-replaced completing-read (just ido-completing-read ?)
>>> works there, though.
>
> I'm using ido-ubiquitous, which installs ido-completing-read overtop
> completing-read along with some compatability tweaks.

The compatibility tweaks doesn't seem to be enough ;/ 

One option would be to so somehow to detect that completing-read is
actually replaced with something (anything?) else and arrange the
arguments differently. I think in this case such a feature
could be tolerated... :D


Tomi

Thread: