[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customize-face + inherit
From: |
Yuri D'Elia |
Subject: |
Re: customize-face + inherit |
Date: |
Sat, 13 Feb 2016 18:59:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
On 11/02/16 10:43, Alex Kost wrote:
>> I'd like to customize a face so that it inherits *all* values from it's
>> parent. That is, I want the face to be an exact copy of the parent.
>>
>> To do that, I can add the 'inherit' property to the desired parent face,
>> but I would also need to *clear* the rest of the attributes from the
>> face being customized, such as foreground.
>
> Hm, I recall this was an issue in Emacs 24.3.1 and earlier versions,
> but it is fixed in Emacs 24.4 (I believe). What's your version?
I'm using 24.5.1 from debian/sid.
It seems to work for some faces, but not for others.
I'm trying to reset the message-header-subject face.
Removing the foreground attribute with customize-face doesn't do
anything at all, but setting it manually through (set-face-attribute) works.
The same goes for message-header-other.
Any idea of what could cause this?