[Top][All Lists]

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

Re: BIKESHED: completion faces

From: Eli Zaretskii
Subject: Re: BIKESHED: completion faces
Date: Fri, 08 Nov 2019 08:35:04 +0200

> From: João Távora <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden,
>   address@hidden
> Date: Thu, 07 Nov 2019 21:43:00 +0000
> >> So I'm proposing "completion-emphasis", which we seem to agree
> >> on
> >
> > Not really, no.
> Why didn't you object to it 1..2..six mails ago?  You just said
> "secondary-emphasis" is not a good name...  This makes us go in circles,
> Eli.

Sorry, I don't always have time to catch up with huge threads, and in
this particular case had difficulties to understand what were the main

> One more time: my only goal in this entire giant conversation, is for
> the 'flex' style to be able to transform this match on the pattern "foo":
>   fabrobazor
>            ^
>            `- this letter is bold by default currently
> into this:
>   fabrobazor
>   ^   ^   ^
>   `---`---`----- I want these bold by default in the future
> no change to the 'basic/prefix' completion.

I understand that you want to highlight both f, o, o, and r, but the
latter with a different face.  If my understanding is incorrect, then
what will the other face be used for?

> Otherwise, if you do, then the only completion-related face that
> currently has "bold" is completions-first-difference, which is a silly
> name for this.  Should I alias that to "completions-match-emphasis",
> your 3-mails-ago suggestion?  To something else?

I understand that what I called completions-match-emphasis will
highlight f, o, and o -- the characters that were in the string typed
by the user.  These are currently not highlighted at all.  I also
understand that there will be another face, the one we currently call
completions-first-difference (and you want another name for it), which
will highlight r in this example.

reply via email to

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