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

Tomi Ollila tomi.ollila at iki.fi
Sat Aug 24 00:18:46 PDT 2013


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

> Tomi Ollila <tomi.ollila at 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


More information about the notmuch mailing list