bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doing completion and menu-completion with just one key


From: Chet Ramey
Subject: Re: doing completion and menu-completion with just one key
Date: Mon, 06 Jan 2014 16:57:37 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 1/4/14 8:09 AM, Ernest Adrogué wrote:
> Hi there,
> 
> This is not a bug per se, just an idea.
> 
> On many occasions I find myself repeatedly typing a character followed by
> TAB in order to narrow down possible completions, until there is just one
> candidate left.  This is not efficient, because when there are just 3-4
> possible completions it would be more convienent to simply cycle through all
> completions like menu-completion does.  On the other hand, using
> menu-completion is inefficient when the number of possible completions is
> high.
> 
> One solution is first use completion to narrow down completions and in the
> end use menu-completion, but I think it would be much better to use just one
> key.  In my opinion the best solution would be this: the first TAB does
> completion and successive TABs do menu-completion.  Currently I don't think
> it is possible to configure Readline to do this, is it?

Thanks for the suggestion.  This is not how readline currently works, but I
will look at ways to do this for a future version.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]