On Thursday 13 March 2003 10:15 pm, Stephen J. Turnbull wrote:
>>>>> "Steven" == Steven T Hatton
<hattons(a)speakeasy.net> writes:
Steven> With one minor caveat: 'edit-faces' _works_, and
Steven> 'customize-face' is broken. :-/
I don't think this will work, but try it anyway: back up your
~/.xemacs/custom.el file, then check to make sure it's backed up, then
use edit-faces to create the faces you like, then go to
customize-face. The faces you've changed _should_ say "changed
outside of custom". Try saving changes in that custom buffer.
This probably won't work and may destroy your custom.el file, but the
alternative is a fair amount of work on somebody's part (namely,
fixing custom to properly handle mule faces, which it has never
attempted to do).
It put this in the ~/.xemacs.el but it doesn't honour it:
(custom-set-faces
'(default ((t (:foreground "#000000" :background "#e0e0e" :size
"180" :family
"courier"))) t))
, and nothing else seems broken.
The message in the customize-face was actually far less assertive. It merely
said 'not changed in customize-face' or something very similar. I only need
to change four faces in edit faces. "default", "bold",
"bold-italic", and
"widget-button-face". It seems all the other inherit from these.
It would seem the problem is in the part of customize browse that processes
the strings specifying the settings. Perhaps it's the actual font specs that
it's choking on? ie, the "-*-courier-bold-r-*-*-*-180-*-*-*-*-iso8859-*"
strings.
I will observe that changing the color in the customize-face does seem to have
an affect, whereas changing font related stuff is ignored. That indicates to
me it can't figure out the font spec strings available in the font cache.
Obviously, XEmacs understands some of these, because it respondst correctly
to `edit-faces' and `set-face-font'. It may actually be an easy fix once
someone identifies where the font spec strings are parsed in customize.
But I'm talking about stuff I really don't understand, so I may be completely
out in left field.
--
STH
Hatton's Law: There is only One inviolable Law.