[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13278: 24.3.50; Attributes aren't inherited in a copied face across
From: |
Katsumi Yamaoka |
Subject: |
bug#13278: 24.3.50; Attributes aren't inherited in a copied face across frames |
Date: |
Sun, 30 Dec 2012 10:28:38 +0900 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> wrote:
> Katsumi Yamaoka wrote:
>> (This happens in not only 24.3.50 but also at least 24.2.)
> In everything since at least 22.3.
Since at least 20.7, I verified. Perhaps is the present behavior
the spec?
>> Say copy the built-in face `bold' to `my-bold' as follows:
>> (copy-face 'bold 'my-bold)
>> = my-bold
>> (face-attribute 'my-bold :weight)
>> => bold
>> That is normal. However, if `(face-attribute ...)' is done again
>> in a newly created frame (by `C-x 5 2'), it returns `unspecified',
>> i.e., that is not a bold face in the new frame.
> Something to do with the FRAME argument of both these functions,
> I imagine.
So far I didn't find the way to make `my-bold' always bold by
fiddling them.