emacs-devel
[Top][All Lists]
Advanced

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

Re: Faces: How to clear an attribute while continuing to inherit other a


From: Dave Goel
Subject: Re: Faces: How to clear an attribute while continuing to inherit other attributes?
Date: Thu, 10 Oct 2019 21:13:51 -0400

If this were implemented, I'd also want 'clear to follow normal precedence rules. For example, if a region has 3 faces, and the first face resolves to 'clear, then the final attribute is 'clear no matter what the other two faces say, and no matter what any ancestor faces say. And, since the final, chased attribute resolves to 'clear, emacs would look up the value from 'default, which always provides a value for every attribute. 
 

 

On Thu, Oct 10, 2019 at 8:56 PM Dave Goel <address@hidden> wrote:

> That's because you expect the attribute to magically change after you
set it.  

Yes, I do :)

That's what face A would do if it did not inherit B (which specified the attribute). It would magically follow whatever default does. for the missing attribute.



On Thu, Oct 10, 2019 at 3:00 PM Eli Zaretskii <address@hidden> wrote:
That's what 'unspecified' does, and it clearly isn't what Dave
wanted.  He wanted a value that says "clear that attribute", and
there's no such value.
 
But, again, nothing stops us from providing one. For example, specifying 'clear would cause all inheritances to pause, so that the result of chasing becomes 'unspecified, even if one of the ancestors specified the face.
.   
What is DMARC?

 


reply via email to

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