all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: lektu@terra.es, emacs-devel@gnu.org
Subject: Re: list-colors-display shows only one color
Date: Mon, 11 Feb 2002 21:44:56 +0100	[thread overview]
Message-ID: <jebsevoiif.fsf@suse.de> (raw)
In-Reply-To: <8296-Mon11Feb2002214825+0200-eliz@is.elta.co.il> ("Eli Zaretskii"'s message of "Mon, 11 Feb 2002 21:48:25 +0200")

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

|> > From: Juanma Barranquero <lektu@terra.es>
|> > 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, schwab@suse.de
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."

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-11 20:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-11 18:12 list-colors-display shows only one color Juanma Barranquero
2002-02-11 19:48 ` Eli Zaretskii
2002-02-11 20:44   ` Andreas Schwab [this message]
2002-02-12  5:41     ` Eli Zaretskii
2002-02-12 11:01       ` Andreas Schwab
2002-02-12 11:05         ` Eli Zaretskii
2002-02-13 15:37     ` Richard Stallman
2002-02-13 16:25       ` Andreas Schwab
2002-02-12  9:00   ` Juanma Barranquero
2002-02-12 12:18     ` Juanma Barranquero
2002-02-13 13:31       ` Andreas Schwab
2002-02-13 14:13         ` Juanma Barranquero
2002-02-13 14:39           ` Andreas Schwab
2002-02-13 15:39       ` Richard Stallman
2002-02-13 17:07         ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jebsevoiif.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=emacs-devel@gnu.org \
    --cc=lektu@terra.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.