[Top][All Lists]

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

Re: bug?: colored-completion-prefix an completion-prefix-display-length

From: Chet Ramey
Subject: Re: bug?: colored-completion-prefix an completion-prefix-display-length don’t seem to work together
Date: Fri, 8 Oct 2021 22:48:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.1.2

On 10/4/21 2:12 PM, Christoph Anton Mitterer wrote:

It seems that when setting completion-prefix-display-length to a
positive number, colored-completion-prefix generally stops working
(simply no colour, whether or not an ellipsis is printed).

Yes. completion-prefix-display-length takes precedence over any colored
prefix setting.

Shouldn't it make sense that this works independently?

Maybe. It never has.

If on sets e.g.
   set colored-completion-prefix 10
...so that long file names or so are abbreviated...
one still might want to have the short common prefixes for options or
so highlighted.

Let me see what I can find.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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