Martin Buchholz writes:
Martin> Let me add a bug report to the custom faces debate.
Martin> Being perverse, I like my shell buffers to look different from all my
Martin> other buffers. So I do something like this:
Martin>
Martin> (add-hook
Martin> 'shell-mode-hook
Martin> (lambda ()
Martin> (set-face-background 'default "midnightblue"
(current-buffer))))
Martin>
Martin> If I start a shell, then change fonts by doing Options->Size->14, my
Martin> font sizes do indeed change, but my background color customization is
Martin> gone. Subsequently started shell buffers are back to midnightblue.
I noticed another strange behaviour when using the above
set-face-background in the shell-mode-hook:
In the *shell* buffer I type:
chsh
and get prompted for a password in the minibuffer. After entering the
password, ALL buffers in the current frame have a "midnightblue"
background, not only the *shell* buffer.
I tried this with XEmacs 21.0.66 and 21.0.67.
Mike
--
Mike Fabian mike.fabian(a)mail.rhein-ruhr.de mike.fabian(a)gmx.de
Termuehlenweg 2, D-40885 Ratingen-Lintorf, Telephone: +49(0)2102/893130