From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.devel Subject: Re: "RGB" in color.el Date: Fri, 26 Nov 2010 12:04:17 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1290769482 30122 80.91.229.12 (26 Nov 2010 11:04:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Nov 2010 11:04:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 26 12:04:38 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PLw6S-00082W-UM for ged-emacs-devel@m.gmane.org; Fri, 26 Nov 2010 12:04:33 +0100 Original-Received: from localhost ([127.0.0.1]:37712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLw6S-0007mB-G6 for ged-emacs-devel@m.gmane.org; Fri, 26 Nov 2010 06:04:32 -0500 Original-Received: from [140.186.70.92] (port=60270 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLw6K-0007lb-4s for emacs-devel@gnu.org; Fri, 26 Nov 2010 06:04:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLw6I-0007dE-I2 for emacs-devel@gnu.org; Fri, 26 Nov 2010 06:04:23 -0500 Original-Received: from coquelicot-s.easter-eggs.com ([213.215.37.94]:41345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLw6I-0007cQ-CU; Fri, 26 Nov 2010 06:04:22 -0500 Original-Received: from cigue.easter-eggs.fr (cigue.easter-eggs.fr [10.0.0.33]) by rose.easter-eggs.fr (Postfix) with ESMTPS id 8120E14105; Fri, 26 Nov 2010 12:04:16 +0100 (CET) Original-Received: from jdanjou by cigue.easter-eggs.fr with local (Exim 4.72) (envelope-from ) id 1PLw6E-0002xe-Cd; Fri, 26 Nov 2010 12:04:18 +0100 Mail-Followup-To: Miles Bader , emacs-devel@gnu.org In-Reply-To: (Miles Bader's message of "Fri, 26 Nov 2010 13:15:58 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133157 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Nov 26 2010, Miles Bader wrote: > I think the comments in color.el should be a bit more specific about the > term "RGB", since that's ambiguous (e.g., in `color-xyz->rgb', the > comment just says "Converts CIE X Y Z colors to RGB."). > > From the code it's pretty clear that what's really meant is "sRGB" so > maybe that term could just be substituted. You are right. I've fixed that, but feel free to come with something even better. > Incidentally, that brings to mind the question: are color numbers in > Emacs generally taken to refer to sRGB? Is there any mechanism in X to > know...? It seems it's not sRGB, but just RGB with no color space. =2D-=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzvlDIACgkQpGK1HsL+5c0KAwCbB35BAFSQUVz6j7RptBPcR2M7 TlwAn3mYXwv/FbH3hrFfDme6cJj5TdL5 =vkt0 -----END PGP SIGNATURE----- --=-=-=--