[Top][All Lists]
[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: |
Tue, 12 Feb 2002 12:01:36 +0100 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) |
Eli Zaretskii <address@hidden> writes:
|> On Mon, 11 Feb 2002, Andreas Schwab wrote:
|>
|> > |> 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.
|>
|> I'm not sure I understand what are you saying. Are you saying that 256
|> is an incorrect value? On X, x-display-color-cells returns what
|> DisplayCells returns, so Emacs isn't ``guilty'' ;-)
What I want to say is that DisplayCells might not be the right function
in this context. But then, I don't know what "default colormap" is
supposed to mean.
|> > xcolors can display all colors from rgb.txt simultanously, as it seems.
|>
|> The number of colors you have on a 24-bit display is much larger than
|> what rgb.txt shows, but the number of colors that are available in the
|> colormap is typically smaller, so 256 doesn't sound very wrong to me.
Why shouldn't Emacs be able to display all colors as well?
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."
- list-colors-display shows only one color, Juanma Barranquero, 2002/02/11
- Re: list-colors-display shows only one color, Eli Zaretskii, 2002/02/11
- Re: list-colors-display shows only one color, Andreas Schwab, 2002/02/11
- Re: list-colors-display shows only one color, Juanma Barranquero, 2002/02/12
- Re: list-colors-display shows only one color, Juanma Barranquero, 2002/02/12
- Re: list-colors-display shows only one color, Andreas Schwab, 2002/02/13
- Re: list-colors-display shows only one color, Juanma Barranquero, 2002/02/13
- Re: list-colors-display shows only one color, Andreas Schwab, 2002/02/13
- Re: list-colors-display shows only one color, Richard Stallman, 2002/02/13
- Re: list-colors-display shows only one color, Juanma Barranquero, 2002/02/13