>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Martin Buchholz <martin(a)xemacs.org> writes:
> other buffers. So I do something like this:
>
> (add-hook
> 'shell-mode-hook
> (lambda ()
> (set-face-background 'default "midnightblue" (current-buffer))))
>
> If I start a shell, then change fonts by doing Options->Size->14, my
> font sizes do indeed change, but my background color customization is
> gone.
Jan> This is "intentional". Using custom (and thus the font-menu) overrides
Jan> all runtime changes. I agree it is unexpected. At least you get gray
Jan> instead of white. We should discuss in Tsukuba whether custom should
Jan> really work that way, but currently this is the way it does.
Actually it annoyingly flashes gray for a second, and then switches
back to black, which is my non-shell-buffer default background.
A user has the right to expect that using the font menu will change
fonts, not colors. We have to find a way to fix the current behavior.
Jan> No bugs. just funny effect of the way custom works. I am pretty sure
Jan> this works the same on FSF Emacs.
So basically I'm in the situation where I've learned to not use custom
because things work better without it. Oh, and better not to use the
menubar, because it might invoke custom without asking me?
I realize that dealing correctly with these issues is very hard. Have
other applications done it better?
Martin