[Top][All Lists]

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

Re: Background colo(u)r

From: Eli Zaretskii
Subject: Re: Background colo(u)r
Date: Fri, 23 Jul 2010 13:10:27 +0300

> From: Gary <address@hidden>
> Date: Fri, 23 Jul 2010 11:59:52 +0200
> What exactly is set-background-color supposed to do?

Set the background color of the current frame.

> For example, I have emacs opened in a console whose background colour is
> set to black and call set-background-color to black. Nothing happens,
> right? Yes, it does. Something in the faces clearly changes, because
> (depending on mode) the displayed content changes colours (yeah, the
> background is still black...). Hmm.

This is expected: Emacs has no way of knowing the default colors of
the terminal, so when you tell it explicitly it's black, you tell it
something it didn't know before.  In response, Emacs adjusts the other
colors accordingly, if needed.

> Another example, in the same console: I call set-background-color
> blue. The background changes to blue then? Nooooo... it stays black,
> with the same face changes displayed as above. Double hmm.

Sounds like a bug, please report it.

reply via email to

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