Richard Stallman <[EMAIL PROTECTED]> writes:

>     ,----
>     | Emacs.mode-line.attributeBackground:    #fbf8f1
>     | Emacs.mode-line.attributeForeground:    #101010
>     `----
>
>     but I don't have such settings in my ~/.Xresources.
>
> The window manager makes those, but you've identified an Emacs bug.
> The bug is that, for frames other than the first,
> the X resources override your customization:
>
> Can someone please fix that, then ack?

The behavior where X resources override Custom (and all other Elisp
face settings) seems to have been around since forever --- it can be
seen in Emacs 21 --- and there is no easy clean way to fix it.

One possibility is for the relevant code in faces.el to look for a
'theme-face, and not apply X resources if so.  This is a kludge since
the faces code should ideally be independent of custom, but maybe it
will suffice for now.

Another possibility is to stop the window manager from automatically
setting a face resource for the mode-line.  There would then be no
problem with the convention that X resources override Elisp, since X
resources would be set by the user.

I don't know how to do this, though.  In the first place, why does the
window manager automagically set the mode-line face resource?



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to