From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#4033: 23.1; list-colors-display is misleading Date: Wed, 5 Aug 2009 16:16:33 -0700 Message-ID: <4AC1BBF95D2647949A2000504ECE564A@us.oracle.com> References: <4B9B03BEE43E44B79206302B26E01B3A@us.oracle.com><87ws5j9rcv.fsf@mail.jurta.org><6875A66084B7406B8409F2C495A75D26@us.oracle.com> <87ws5i9c5s.fsf@mail.jurta.org> Reply-To: Drew Adams , 4033@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249514887 8742 80.91.229.12 (5 Aug 2009 23:28:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2009 23:28:07 +0000 (UTC) Cc: 4033@emacsbugs.donarmstrong.com To: "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 01:28:00 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MYptn-0000NL-SQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 01:28:00 +0200 Original-Received: from localhost ([127.0.0.1]:53290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYptn-0008CF-6L for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Aug 2009 19:27:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYpso-0007dy-JR for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 19:26:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYpsi-0007bR-IZ for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 19:26:56 -0400 Original-Received: from [199.232.76.173] (port=38796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYpsi-0007bB-3X for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 19:26:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38333) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYpsh-00059w-Kz for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 19:26:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n75NQlKe006040; Wed, 5 Aug 2009 16:26:47 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n75NP5ua005772; Wed, 5 Aug 2009 16:25:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 05 Aug 2009 23:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4033 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4033-submit@emacsbugs.donarmstrong.com id=B4033.12495142025256 (code B ref 4033); Wed, 05 Aug 2009 23:25:05 +0000 Original-Received: (at 4033) by emacsbugs.donarmstrong.com; 5 Aug 2009 23:16:42 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from rgminet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n75NGfe5005253 for <4033@emacsbugs.donarmstrong.com>; Wed, 5 Aug 2009 16:16:42 -0700 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n75NGX3A022081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Aug 2009 23:16:34 GMT Original-Received: from abhmt020.oracle.com (abhmt020.oracle.com [141.146.116.29]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n75NGXnW009341; Wed, 5 Aug 2009 23:16:34 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 05 Aug 2009 16:16:31 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoWFNRG6YJlUVM8T0ON1CeanqZ+MwADTv5g In-Reply-To: <87ws5i9c5s.fsf@mail.jurta.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt020.oracle.com [141.146.116.29] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010203.4A7A12D0.00F5:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 05 Aug 2009 19:26:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29913 Archived-At: > I don't understand what is the reason to unnecessarily > complicate this. In your original report you said that one > user had some confusion with hex formats. Is this user using > a system supporting more than 8 bits per component? If no one sees the utility, then feel free to ignore and close the bug. To answer your question: Regardless of what that user's system supports, from Jason I've learned that only 8 bits can be effectively supported by Emacs (for nearly all systems) because of the system APIs that are available to Emacs. As to how Emacs should display the RGB that corresponds to a named color: I still think that TRT is to base that feedback on what `display-color-cells' tells about the user's display - its color support. If tomorrow the API limitations are alleviated, then that user feedback will automatically reflect Emacs's improved color support. It's easy enough to do that, as the code I sent shows. The difference is only a few lines of uncomplicated code. It's OK if you disagree about whether that should be done.