>>>> "David" == David Wang
<dwang(a)cisco.com> writes:
David> I then use gnuclient to open up one X frame. The face
David> colors are the ones that I've specified in my .emacs file
David> and correct. If I then use "C-x 5 b" to open up another x
David> frame, the 2nd X frame face colors are all screwed up.
[ ... ]
David> (custom-set-faces
custom-set-faces has some known infelicities in that it trashes all
non-Custom information about faces. I don't see how that relates
directly to your problem, but try adding
(defadvice reset-face (around protect-default activate)
"Special-case the default face so that reset-face is no-op."
(if (eq face 'default)
nil
ad-do-it))
and see what happens.
I am recommending this as a test only. I don't know anything that
this could break, but my knowledge isn't comprehensive. Advising
functions is generally not recommended for fixing bugs, either. YMMV.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Telfax: +81 (298) 53-5091
__________________________________________________________________________
__________________________________________________________________________
What are those two straight lines for? "Free software rules."