[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BIKESHED: completion faces
From: |
Juri Linkov |
Subject: |
Re: BIKESHED: completion faces |
Date: |
Sat, 16 Nov 2019 22:10:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> > I think you are looking at this from the implementation POV. From
>> > users' POV, an option (or a minor mode) is a better way when we are
>> > talking not just about changing colors and other face attributes, but
>> > about changing behavior in significant ways. In this case, what is
>> > implemented via faces changes the behavior, because a face prominently
>> > different from the default becomes like the default, and another face
>> > makes the reverse transformation. Think of this as a binary mode that
>> > makes either the first-difference or the common part prominent:
>> > flipping a variable is an easily understood and easily discovered way
>> > of getting each user the behavior he/she wants.
>>
>> How would that work? Having two faces have different default definitions
>> depending on the value of the variable?
>
> Either that or a function that redefines the face definitions, e.g. by
> aliasing/copying from other faces.
I thought you meant an option/variable or a minor mode for flex style,
so when it's enabled in the *Completions* buffer with flex styles, then
it puts the same face on different parts of the buffer than prefix style,
i.e. the flex style activates this minor mode and it puts bold on common
parts. Then there is no need to meddle with face definitions. Isn't it so?
- Re: BIKESHED: completion faces, (continued)
- Re: BIKESHED: completion faces, João Távora, 2019/11/09
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/09
- Re: BIKESHED: completion faces, João Távora, 2019/11/09
- Re: BIKESHED: completion faces, Dmitry Gutov, 2019/11/10
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/14
- Re: BIKESHED: completion faces, Dmitry Gutov, 2019/11/14
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/14
- Re: BIKESHED: completion faces, João Távora, 2019/11/14
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/14
- Re: BIKESHED: completion faces, João Távora, 2019/11/14
- Re: BIKESHED: completion faces,
Juri Linkov <=
- Re: BIKESHED: completion faces, João Távora, 2019/11/16
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/17
- Re: BIKESHED: completion faces, João Távora, 2019/11/17
- Re: BIKESHED: completion faces, Stefan Monnier, 2019/11/08
- Re: BIKESHED: completion faces, João Távora, 2019/11/08
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/08
- RE: BIKESHED: completion faces, Drew Adams, 2019/11/06
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/06
- RE: BIKESHED: completion faces, Drew Adams, 2019/11/06
- Re: BIKESHED: completion faces, Eli Zaretskii, 2019/11/07