bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Highlight in autocomplete multiple matches


From: Chet Ramey
Subject: Re: [Bug-readline] Highlight in autocomplete multiple matches
Date: Wed, 13 Nov 2013 15:31:35 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 11/13/13 7:33 AM, Duy Nguyen wrote:
> When I auo complete "abc" in emacs and there are two matches abcdef
> and abcghi, both are shown of course but the end of the common prefix
> 'c' is highlighted, which makes it easy for the eyes to choose next.
> Can we do that in readline too? I had a quick look at the source code
> and I think rl_complete_internal() could be modified to do that, even
> if it's applicable for filename completion only, but not entirely
> sure. My goal is to make bash highlight it when I autocomplete long
> file names.

That's on the list of things to look at for a future version, now that
readline-6.3 will have color support.

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]