all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Background colo(u)r
@ 2010-07-23  9:59 Gary
  2010-07-23 10:10 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Gary @ 2010-07-23  9:59 UTC (permalink / raw)
  To: help-gnu-emacs

What exactly is set-background-color supposed to do?

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.

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.

Setting to white, btw, produces no visible change whatsoever.

So... what is it supposed to do? It certainly doesn't seem to be setting
the background colour!




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Background colo(u)r
  2010-07-23  9:59 Background colo(u)r Gary
@ 2010-07-23 10:10 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2010-07-23 10:10 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Gary <help-gnu-emacs@garydjones.name>
> 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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-23 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23  9:59 Background colo(u)r Gary
2010-07-23 10:10 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.