emacs-devel
[Top][All Lists]
Advanced

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

Re: list-colors-display shows only one color


From: Andreas Schwab
Subject: Re: list-colors-display shows only one color
Date: Mon, 11 Feb 2002 21:44:56 +0100
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

"Eli Zaretskii" <address@hidden> writes:

|> > From: Juanma Barranquero <address@hidden>
|> > Date: Mon, 11 Feb 2002 19:12:33 +0100
|> > 
|> > M-x list-colors-display shows only one color ("snow") in my system, a
|> > Windows XP in 32-bit color mode. Previously it showed the full list.
|> > 
|> > (x-display-color-cells) returns 1, BTW.
|> 
|> That's the bug, right there: x-display-color-cells should report the
|> true number of colors supported by the display.  If it reports 1, many
|> features in color support will start to break down, list-colors-display
|> being the least of them.

Hmm, (x-display-color-cells) returns 256 for me, although I'm working on
a TrueColor 24-bit display.  man DisplayCells says:

       The DisplayCells macro returns the number of entries in
       the default colormap.

xcolors can display all colors from rgb.txt simultanously, as it seems.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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