On Mon, Dec 14, 1998 at 02:55:02PM +0100, Jan Vroonhof wrote:
Larry Ayers <layers(a)marktwain.net> writes:
> Something new and undesirable in 21.0-beta60: when the font is
> changed from the Options menu the background is changed to white
> and the foreground is changed to black, over-riding the settings
> which have worked until now in my ~/.Xresources file. This
> didn't happen with the most recent beta in the 21.2 series.
Huh? Are you really sure you are running 21.0b60. What does the
function face-spec-set in faces.el look like? Did everything get
byte-compiled correctly?. This is an old problem (existing for very
long and supposed to be FIXED in 21.0b60), I cannot reproduce it here
with my cvs checked out version. May be the tagging in the CVS is
wrong.
Jan
I am running beta60, patched up from beta59, but the
'face-spec-set' function in faces.el is different than the
version you appended to your message. Here is what I have:
(defun face-spec-set (face spec &optional frame)
"Set FACE's face attributes according to the first matching entry in SPEC.
If optional FRAME is non-nil, set it for that frame only.
If it is nil, then apply SPEC to each frame individually.
See `defface' for information about SPEC."
(if frame
(progn
(reset-face face frame)
(face-display-set face spec frame)
(init-face-from-resources face frame))
(let ((frames (relevant-custom-frames)))
(reset-face face)
(if (and (eq 'default face) (featurep 'x))
(x-init-global-faces))
(face-display-set face spec)
(while frames
(face-display-set face spec (car frames))
(pop frames))
(init-face-from-resources face))))
I'll try substituting the version you sent and re-byte-compile.
I'll post the results. Thanks!
Larry
--
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
*o Larry Ayers <layers(a)marktwain.net> *o*o
o*o *o*
*o*o Knox County, Missouri Troublesome Creek Watershed *o
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~