From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: list-colors-display shows only one color Date: Tue, 12 Feb 2002 13:05:54 +0200 (IST) Message-ID: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: quimby2.netfonds.no 1013512801 392 195.204.10.66 (12 Feb 2002 11:20:01 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 12 Feb 2002 11:20:01 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 16aaye-00005K-00 for ; Tue, 12 Feb 2002 12:20:01 +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 16aao8-0000gt-00; Tue, 12 Feb 2002 06:09:08 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16aalw-0008M2-00 for ; Tue, 12 Feb 2002 06:06:53 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id NAA06096; Tue, 12 Feb 2002 13:05:54 +0200 (IST) X-Sender: eliz@is Original-To: Andreas Schwab In-Reply-To: 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:1028 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1028 On Tue, 12 Feb 2002, Andreas Schwab wrote: > |> 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. I'm not a great expert on X, but AFAIK a colormap is where X looks up the color given its RGB values. The default colormap is a colormap used for an X application unless it sets up its own colormap. If my interpretation is correct, you cannot have more distinct colors than the number of cells in a colormap. > |> 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? Because some of them will be identical. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel