[Top][All Lists]

[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 23:48:24 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Chong Yidong writes:
> 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'm not too fond of that for the same reason.

I'm wondering: We already can set different face attributes depending on
DISPLAY's 'background' property, which can be 'light' or 'dark'. Say the
user is working with a 'dark' background by default, but we now detect
that one of the font-lock faces has not enough contrast when highlighted
by the region: why not simply switch to the face that is defined for
'light' background instead?


reply via email to

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