From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: color.el Date: Sun, 20 Feb 2011 10:10:49 +0900 Message-ID: <8762sfv7c6.fsf@catnip.gol.com> References: <87sjvjj2mz.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298164268 32109 80.91.229.12 (20 Feb 2011 01:11:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Feb 2011 01:11:08 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 20 02:11:04 2011 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 1PqxpH-0002v9-Is for ged-emacs-devel@m.gmane.org; Sun, 20 Feb 2011 02:11:03 +0100 Original-Received: from localhost ([127.0.0.1]:41407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqxpB-0005wi-MJ for ged-emacs-devel@m.gmane.org; Sat, 19 Feb 2011 20:10:57 -0500 Original-Received: from [140.186.70.92] (port=47714 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pqxp7-0005wd-C2 for emacs-devel@gnu.org; Sat, 19 Feb 2011 20:10:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pqxp6-0005fd-6p for emacs-devel@gnu.org; Sat, 19 Feb 2011 20:10:53 -0500 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:36339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pqxp5-0005fX-Uj; Sat, 19 Feb 2011 20:10:52 -0500 Original-Received: from 218.231.234.87.eo.eaccess.ne.jp ([218.231.234.87] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1Pqxp3-0004N5-Ry; Sun, 20 Feb 2011 10:10:49 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 1708EDFA0; Sun, 20 Feb 2011 10:10:49 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <87sjvjj2mz.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 19 Feb 2011 13:33:08 -0500") Original-Lines: 18 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 203.216.5.74 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:136253 Archived-At: Chong Yidong writes: > 2. Returning HUE in [0,1], rather than radians, by default. > > If we do this, I'd rather not add a separate *-radians function; we > should just decide on whether Emacs should represent hue as [0,1], as > radians, or as [0,360], and use that everywhere. > > For what it's worth, the Gimp, the Java color library, and the > Eclipse API all use [0,360]. Maybe we should do follow suit. Any > objections? Radians seem cleaner; an argument range of 0-360 only seems useful if an interface is primarily user-level (e.g. a spec in a web page or something). -miles -- Run away! Run away!