GNU bug report logs -
#7943
23.1; white background is color #e5e5e5 in terminal window
Previous Next
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 #58 received at 7943 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I believe I've figured out what was going on. It had nothing to do with the
white setting to #e5e5e5, but the fact that somehow in my .emacs file the
custom-set-faces contained the line:
'(default ((t (:inherit nil :stipple nil :background "white" :foreground
"black" :inverse-video nil :box nil :strike-through nil :overline nil
:underline nil :slant normal :weight normal :height 115 :width normal
:foundry "unknown" :family "DejaVu Sans Mono"))))
I'm not sure how this got there, but removing the :background "white" from
it changes the window's background from dark grey to bright white again.
Text is now readable.
On Sat, Mar 12, 2011 at 8:00 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > 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.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 14 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.