>>>> "GB" == Giacomo Boffi
<giacomo.boffi(a)polimi.it> writes:
GB> i have
GB> % xrdb -q | grep 'Emacs.*ack'
GB> Emacs*Background: mycolor4
GB> Emacs*Tabs*background: rosybrown2
GB> Emacs*XlwScrollBar.Background: mycolor3
GB> Emacs*XlwScrollBar.bottomShadowColor: black
GB> Emacs*backgroundToolBarColor: mycolor3
GB> Emacs*dialog*Background: mycolor3
GB> Emacs*menubar*Background: mycolor3
GB> Emacs*popup*Background: mycolor4
GB> Emacs.default.attributeBackground: mycolor4
GB> %
GB> but
GB> 1. the buffer tabs background is unmistakenly mycolor4 (a very dark
GB> blue) when i specified rosybrown2
I have the same problem.
If I do:
./xemacs -vanilla -q -xrm '*.buffers-tab.attributeBackground:green'
I get green tabs, but I also get a warning:
(1) (resource/warning) Bad resource specification encountered: something like
Emacs*buffers-tab.attributeBackground: green
You should replace the * with a . in order to get proper behavior when
you use the specifier and/or `set-face-*' functions.
If I follow the instructions and use the `normal' resource
specification that works with other faces, I get _no_ effect
(buffer-tab face inherits from default):
./xemacs -vanilla -q -xrm 'Emacs.buffers-tab.attributeBackground:green'
I hate it when xemacs lies to me.
It seems to me that the buffers-tab face should not inherit from
'default, but from the `gui-element' face. For example, the modeline
face does that.
GB> 2. i can set the tabs bg color with editres, but when emacs gains the
GB> focus the tabs are redrawn with mycolor4 (i.e., generic bg color)
That's probably as designed. Specifiers control the display of faces.
GB> 3. if i set the borderwith of the tabs, they are clipped in the bottom
GB> 4. tabs aren't visually pleasing if they have a dark bg, and there are
GB> no/botton shadow pixel resources to modify, to get a better look
Agreed. Aren't there standard algorithms already in use in XEmacs to
determine excellent shadow colors based on the background color?
Andy, you're best qualified to investigate these, but I'd be willing
to help.