GNU bug report logs - #8250
23.3; set-backrgound-color sets incorrect color

Previous Next

Package: emacs;

Reported by: "David J. Biesack" <David.Biesack <at> sas.com>

Date: Mon, 14 Mar 2011 16:43:02 UTC

Severity: normal

Found in version 23.3

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: "David J. Biesack" <David.Biesack <at> sas.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 8250 <at> debbugs.gnu.org
Subject: Re: bug#8250: 23.3; set-backrgound-color sets incorrect color
Date: Wed, 16 Mar 2011 15:54:41 +0100
On Wed, Mar 16, 2011 at 15:15, David J. Biesack <David.Biesack <at> sas.com> wrote:

> (length w32-color-map)
> 271

> I don't know why w32-color-map (w32fns.c) is so short on my system.
> (I've have rebooted - no change.)

In x-open-connection, w32-color-map is set from the etc/rgb.txt file
(the trunk version of it has 788 entries). If that fails,
w32-color-map is set from the w32_color_map variable in w32fns.c,
which has 241.

Add to that a few system colors that are added afterwards, and 271
seems about right.

So please check that your etc/ directory has an rgb.txt file and that it is OK.

    Juanma




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

Previous Next


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