[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overriding inherited face attributes
From: |
Stephen Berman |
Subject: |
Re: Overriding inherited face attributes |
Date: |
Wed, 28 Nov 2018 14:13:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
On Wed, 28 Nov 2018 15:06:17 +0200 Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Stephen Berman <stephen.berman@gmx.net>
>> Cc: help-gnu-emacs@gnu.org
>> Date: Wed, 28 Nov 2018 13:24:51 +0100
>>
>> But then I observed that merely switching the order:
>>
>> (insert (propertize "hello" 'face '(:inherit (:foreground "orange")
>> :foreground "red")))
>>
>> makes the face display as red, and this seems to conflict with the above
>> documentation.
>
> It doesn't, because ':foreground "red"' is not the "underlying face".
That occurred to me, but then I have to conclude I really don't
understand the doc, according to my reading of which the `inherit'
property should have higher priority by virtue of being earlier in the
list.
Steve Berman
- Overriding inherited face attributes, Boris Buliga, 2018/11/27
- Re: Overriding inherited face attributes, Stephen Berman, 2018/11/27
- Re: Overriding inherited face attributes, Eli Zaretskii, 2018/11/28
- Re: Overriding inherited face attributes, Stephen Berman, 2018/11/28
- Re: Overriding inherited face attributes, Eli Zaretskii, 2018/11/28
- Re: Overriding inherited face attributes,
Stephen Berman <=
- Re: Overriding inherited face attributes, Eli Zaretskii, 2018/11/28
- Re: Overriding inherited face attributes, Stephen Berman, 2018/11/28
- Re: Overriding inherited face attributes, Eli Zaretskii, 2018/11/28
- Re: Overriding inherited face attributes, Stephen Berman, 2018/11/28
- Re: Overriding inherited face attributes, Eli Zaretskii, 2018/11/29
- Re: Overriding inherited face attributes, Stephen Berman, 2018/11/29
- Re: Overriding inherited face attributes, Boris Buliga, 2018/11/28
- Re: Overriding inherited face attributes, Eli Zaretskii, 2018/11/29
Re: Overriding inherited face attributes, Boris Buliga, 2018/11/28