[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About the :distant-foreground face attribute
From: |
David Engster |
Subject: |
Re: About the :distant-foreground face attribute |
Date: |
Thu, 09 Jan 2014 18:22:40 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) |
Eli Zaretskii writes:
> The solution should be able to cope with the need to dynamically
> decide which color is used as a foreground, based on the current
> background. It also needs to support the possibility that a face will
> want to force use of a specific fixed foreground color, regardless of
> the background. (Jan, did I miss some additional requirements?) If
> you can propose a cleaner solution that satisfies these requirements,
> please do, and let's discuss that.
I still wonder why it is necessary in the first place.
>From my experience, editors usually simply drop font-lock when you mark
text (at least Eclipse does that, and in gvim it seems to be
configurable), and I think that is a good default. When you mark a
region, you want to apply some kind of operation on it, after which the
region will be gone and font lock is restored.
If you really really want font-lock on a marked region, then you will
have to choose a region background which will play well with your color
theme. Introducing a new face attribute for such a small annoyance looks
like overkill to me.
However, I also don't feel very strong about this issue.
-David
- Re: About the :distant-foreground face attribute, (continued)
- Re: About the :distant-foreground face attribute, Stefan Monnier, 2014/01/12
- Re: About the :distant-foreground face attribute, chad, 2014/01/12
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/09
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/09
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/09
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/09
- Re: About the :distant-foreground face attribute,
David Engster <=
- Re: About the :distant-foreground face attribute, Lars Magne Ingebrigtsen, 2014/01/09
- Re: About the :distant-foreground face attribute, Jan D., 2014/01/09
- Re: About the :distant-foreground face attribute, Darren Hoo, 2014/01/09
- Re: About the :distant-foreground face attribute, David Engster, 2014/01/09
- Re: About the :distant-foreground face attribute, Darren Hoo, 2014/01/09
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/09
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/09
- Re: About the :distant-foreground face attribute, Josh, 2014/01/09
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/09
- Re: About the :distant-foreground face attribute, Jan D., 2014/01/09