> On Sat, 28 Jan 2012 19:28:56 +0000, Julian Bradfield
<jcb+xeb(a)jcbradfield.org> wrote:
Thanks very much, I would never have found that out.
(face-property 'default (intern (substring (symbol-name attr)
1)))
but then there's more to do, because an XEmacs color is a
specifier,
not a color name.
So then you want
(color-rgb-components
(face-property 'default (intern (substring (symbol-name attr) 1))))
I tried out
(color-instance-rgb-components (custom-face-inherit
'default attr nil))
Which did not work out. After inserting your lines, the org
code works now, but the color is such that the math symbol
cannot been seen. I will try to debug the GNU emacs and
Xemacs code to find out, why they chose different colors,
and read the manual.
(Ten minutes with the manual, while cooking risotto.)
Bon appetite.
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta