From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: list-colors-display shows only one color Date: Mon, 11 Feb 2002 21:44:56 +0100 Message-ID: References: <20020211184827.60D5.LEKTU@terra.es> <8296-Mon11Feb2002214825+0200-eliz@is.elta.co.il> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: quimby2.netfonds.no 1013461116 27794 195.204.10.66 (11 Feb 2002 20:58:36 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 11 Feb 2002 20:58:36 GMT Cc: lektu@terra.es, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16aNX1-0007EC-00 for ; Mon, 11 Feb 2002 21:58:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16aNMz-00007N-00; Mon, 11 Feb 2002 15:48:13 -0500 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16aNJv-0008HM-00 for ; Mon, 11 Feb 2002 15:45:04 -0500 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 8D44C1EBB4; Mon, 11 Feb 2002 21:44:59 +0100 (MET) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: Eli Zaretskii X-Yow: Loni Anderson's hair should be LEGALIZED!! In-Reply-To: <8296-Mon11Feb2002214825+0200-eliz@is.elta.co.il> ("Eli Zaretskii"'s message of "Mon, 11 Feb 2002 21:48:25 +0200") Original-Lines: 30 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1012 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1012 "Eli Zaretskii" writes: |> > From: Juanma Barranquero |> > 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