[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customize "Cua Rectangle Noselect Face" error
From: |
Kim F. Storm |
Subject: |
Re: customize "Cua Rectangle Noselect Face" error |
Date: |
Fri, 15 Apr 2005 10:40:35 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Peter Dyballa <address@hidden> writes:
> Could be that I am undestanding the customization of faces in a faulty
> way! I still see
>
> [X] Background: cyan (sample)
>
> and the word "sample" is cyan, i.e. the foreground, not the
> background, while only the header to this item is correct:
>
> Cua Rectangle Noselect Face face: (sample) Hide Face
>
> where sample's background is cyan.
Indeed -- when you set the background, it is the foreground of the
sample that shows you the color. Perhaps face color samples should
just be a box of the selected color as background (also for the
foreground).
But I don't have a clue to how one would persuade custom to do that
[looking at the custom/widget code causes my brain deadlock]
> The other faces of the Cua Group
> show the same behaviour, appealing to one's imagination, so I have to
> confess that I made a mistake. Sorry for that!
Don't be sorry. As a result of your report, I found that cua's faces
were defined in a very obscure way -- I fixed that to use standard
face inheritance.
--
Kim F. Storm <address@hidden> http://www.cua.dk