[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About the :distant-foreground face attribute
From: |
Chong Yidong |
Subject: |
Re: About the :distant-foreground face attribute |
Date: |
Fri, 10 Jan 2014 02:21:06 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> Please don't. That too would break code that expects :foreground to
>> be as it is now.
>
> Why do you assume that the previous form will not be accepted? Of
> course, it will be.
What Drew is worrying about, I think, is that third-party code, or old
versions of Emacs, will barf when they come across the new :foreground
form in user customizations or themes.
I don't know whether this would be a major problem in practice.
Personally, I agree with David Engster that
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.
But IF people feel really strongly about having this feature, doing it
by adding a new :foreground type seems like the least bad option, from a
code cleanliness perspective.
- Re: About the :distant-foreground face attribute, (continued)
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/08
- Re: About the :distant-foreground face attribute, Stefan Monnier, 2014/01/08
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/08
- Re: About the :distant-foreground face attribute, Chong Yidong, 2014/01/09
- Re: About the :distant-foreground face attribute, Stefan Monnier, 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,
Chong Yidong <=
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/09
- Re: About the :distant-foreground face attribute, David Engster, 2014/01/09
- Re: About the :distant-foreground face attribute, David Engster, 2014/01/12
- Re: About the :distant-foreground face attribute, Jan Djärv, 2014/01/12
- Re: About the :distant-foreground face attribute, David Engster, 2014/01/12
- Re: About the :distant-foreground face attribute, Jan Djärv, 2014/01/12
- Re: About the :distant-foreground face attribute, David Engster, 2014/01/12
- Re: About the :distant-foreground face attribute, Jan Djärv, 2014/01/12
- Re: About the :distant-foreground face attribute, Chong Yidong, 2014/01/12
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/12