emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: About the :distant-foreground face attribute


From: Daniel Colascione
Subject: Re: [PATCH] Re: About the :distant-foreground face attribute
Date: Tue, 14 Jan 2014 10:31:10 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/14/2014 10:06 AM, Jan Djärv wrote:
14 jan 2014 kl. 18:56 skrev Stefan Monnier <address@hidden>:

The most concrete objection is the case of inheriting faces Yidong brought
up in another mail, which indeed is a real problem.

Can someone clarify the problem?

The region face defines :distant-foreground. A face that inherits
region can not override that attribute so that is undefined, it can only
be overridden to another color.

Is there an alternative suggestion which solves the original problem
while at the same time fixing this one?

Yidong hinted at a fix, i.e. let nil be a valid value, like for
:stipple.  The argument against was that :distant-foreground would
have nil as a valid value, but :foreground does not, i.e. they do not
have the same values. The authors of the alternate implementations
must answer for their cases.

My proposal does this and more. We should use it instead of the current :distant-foreground code regardless of the default policy we choose to use with it.



reply via email to

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