GNU bug report logs - #7943
23.1; white background is color #e5e5e5 in terminal window

Previous Next

Package: emacs;

Reported by: warrenharris <at> google.com (Warren Harris)

Date: Sun, 30 Jan 2011 18:53:03 UTC

Severity: normal

Found in version 23.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 7943 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Warren Harris <warrenharris <at> google.com>
Cc: 7943 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: Re: bug#7943: white background is color #e5e5e5 in terminal window
Date: Sun, 13 Mar 2011 06:00:50 +0200
> From: Warren Harris <warrenharris <at> google.com>
> Date: Sat, 12 Mar 2011 16:55:13 -0800
> Cc: drew.adams <at> oracle.com, 7943-done <at> debbugs.gnu.org
> 
> > But that's the most white color that your terminal can produce.
> > xterm.el doesn't _tell_ the terminal what color to produce for
> > "white", it only _documents_ (sort of) what that color is, in terms of
> > RGB components.
> >
> 
> I don't think so. The terminal is perfectly "brightwhite" before emacs
> starts. This is definitely an emacs bug.

Then perhaps you or someone else could suggest how to do that in
Emacs.

> > > and there's no way I can see to set the background to brightwhite.
> >
> > I don't think you can, not for the background.  But I'm not an expert
> > on xterm.
> >
> 
> I know that older emacs version didn't have this problem either.

The code I showed exists since 2002, and it was not changed since
written.  If you know which older Emacs version didn't behave like
this, I'd be interested to know which one.

> BTW, this is a bug when using Apple Terminal, not xterm. xterm seems
> to work fine (whether the TERM is 'xterm' or 'xterm-color').

What do you see Emacs display in xterm for the colors?  I tried that
before I responded to you the first time, and saw the same E5E5E5
value.

> The idea was to replace "white" with the correct values, 255 255 255.

I don't think it will change anything, because Emacs turns on tty
colors by their index (a small number between 0 and 7 or 15), not by
their RGB values.  If you succeed, please reopen the bug and tell what
changes were needed for that.




This bug report was last modified 14 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.