From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Font-lock.el uses strange value for min-colors (Was x-display-color-cells returns wrong number) Date: Mon, 01 Mar 2004 21:55:21 +0200 Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Message-ID: <2914-Mon01Mar2004215520+0200-eliz@elta.co.il> References: <14AB9AB8-6A0E-11D8-99DB-00039363E640@swipnet.se> <2914-Sun29Feb2004201424+0200-eliz@elta.co.il> <20040229220341.GA9343@fencepost> <7494-Mon01Mar2004080015+0200-eliz@elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1078193444 24607 80.91.224.253 (2 Mar 2004 02:10:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2004 02:10:44 +0000 (UTC) Cc: harder@ifa.au.dk, emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Mar 02 03:10:32 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AxzMe-0007mh-00 for ; Tue, 02 Mar 2004 03:10:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxzMB-0004oa-UQ for gebp-emacs-pretest-bug@gmane.org; Mon, 01 Mar 2004 21:10:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AxtaL-0007mW-GB for emacs-pretest-bug@gnu.org; Mon, 01 Mar 2004 15:00:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AxtZe-0007WD-TU for emacs-pretest-bug@gnu.org; Mon, 01 Mar 2004 15:00:06 -0500 Original-Received: from [192.114.186.21] (helo=necron.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxtZe-0006h3-9o; Mon, 01 Mar 2004 14:59:34 -0500 Original-Received: from zaretski (pns03-195-89.inter.net.il [80.230.195.89]) by necron.inter.net.il (MOS 3.4.4-GR) with ESMTP id AEN54834; Mon, 1 Mar 2004 09:54:50 GMT Original-To: Miles Bader X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from Miles Bader on 01 Mar 2004 15:24:52 +0900) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.pretest.bugs:2281 gmane.emacs.devel:20220 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20220 > From: Miles Bader > Date: 01 Mar 2004 15:24:52 +0900 > > > Bottom line is, I think list-colors-display should display colors > > whose number is close to what Emacs can use on that display, except > > that it probably shouldn't be too long (so I don't suggest to display > > 64K colors, for example). > > There are only a few important cases in practice -- monochrome, > low-color (e.g. 8 color) displays, 256-color (8 bit) displays, and > everything else. The current behavior seems to be basically same as > what you want for most common displays; if you really care, I suppose > you could look into making it work well in other rarer cases (but I > suppose that you probably don't care enough). Getting reasonable results on X seems like something we should want, I think. Showing only 64 colors sounds like less than optimal behavior.