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: Tue, 4 Aug 2009 09:01:21 -0700 Message-ID: <4B9B03BEE43E44B79206302B26E01B3A@us.oracle.com> 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 1249403459 30997 80.91.229.12 (4 Aug 2009 16:30:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 16:30:59 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 04 18:30:52 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 1MYMuX-0004tk-Ls for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Aug 2009 18:30:49 +0200 Original-Received: from localhost ([127.0.0.1]:37303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYMuW-0005Hk-UH for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Aug 2009 12:30:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYMqk-0003S3-A6 for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:26:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYMqf-0003RV-Vs for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:26:53 -0400 Original-Received: from [199.232.76.173] (port=33490 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYMqf-0003RO-L3 for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:26:49 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57925) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYMqf-0007hw-5F for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:26:49 -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 n74GQlfv025668; Tue, 4 Aug 2009 09:26:47 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n74GA8mm024049; Tue, 4 Aug 2009 09:10:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Aug 2009 16:10:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4033 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124940169922764 (code B ref -1); Tue, 04 Aug 2009 16:10:07 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Aug 2009 16:01:39 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n74G1Y0k022759 for ; Tue, 4 Aug 2009 09:01:36 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYMSD-0007WY-Dt for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:01:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYMS7-0007Rx-R2 for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:01:32 -0400 Original-Received: from [199.232.76.173] (port=42280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYMS7-0007Rn-CK for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:01:27 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:49361 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYMS6-0003a6-PX for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 12:01:27 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n74G2Qfw029550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 4 Aug 2009 16:02:28 GMT Original-Received: from abhmt009.oracle.com (abhmt009.oracle.com [141.146.116.18]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n74G1jCW017483 for ; Tue, 4 Aug 2009 16:01:45 GMT Original-Received: from dradamslap1 (/141.144.160.20) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Aug 2009 09:01:21 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoVHM9/g5ZCfPigSYaX05zqjrmTPQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt009.oracle.com [141.146.116.18] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A785B52.0040:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 04 Aug 2009 12:26:53 -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:29855 Archived-At: emacs -Q M-x list-colors-display The RGB values listed at the right side are misleading. I have had at least one user state that he thought that, since the form shown is #RRGGBB, his colors had only that granularity. IOW, even if one's system allows colors of the form #RRRRGGGGBBBB (more colors), the color names are translated to hex strings of the form #RRGGBB (fewer colors). The displayed RGB hex string ideally should reflect the user's actual color possibilities. If there is no way for Emacs to know that, then it's better to err on the side of providing more information: #RRRRGGGGBBBB, rather than less: #RRGGBB. E.g., it's better to translate LightBlue as #befded5effff than as #beedff. And if the user's real color space cannot be known, then a note/legend should be added (at least in the `C-h m' help for the `list-colors-display' buffer, but preferably at the top or bottom of the buffer itself), saying that the RGB code shown is not necessarily representative of the color granularity for your system. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-29 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)'