[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Face differences between emacs-nox & windows-nt

From: Eli Zaretskii
Subject: Re: Face differences between emacs-nox & windows-nt
Date: Fri, 08 Oct 2010 14:36:05 +0200

> From: "Gary" <>
> Date: Fri, 08 Oct 2010 13:00:43 +0200
> 1. The background colour of the console and "graphics" windows are very
> different - black vs. white (note: I'm not referring to the effect of
> M-x set-background-color here, but rather the bg colour of the
> window/console "behind" emacs). I happen to prefer a black bg for
> working with text, but other windows lighter in colour (i.e. I would
> also like my graphical emacs to have a black bg).

Does it help to add the following two lines to your ~/.emacs for the
GUI session?

  (add-to-list 'default-frame-alist '(background-color . "black"))
  (add-to-list 'initial-frame-alist '(background-color . "black"))

> Note: calling set-background-color in the console version, where I did
> all my customisation, can have the pretty unpleasant effect of changing
> foreground text colours as well (I guess there is some built-in contrast
> calculation going on somewhere).

Yes, Emacs tries not to show you a combination of colors that would be

> Any thoughts on that?

Not sure what you are asking here.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]