From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: Naming new GUI colors? Date: Fri, 23 Jul 2010 12:55:54 -0400 Organization: A noiseless patient Spider Message-ID: References: <1f9d43c5-e83f-47f8-bbed-15f0f96944b2@l14g2000yql.googlegroups.com> <871vaxn6tg.fsf@puma.rapttech.com.au> <87y6d22obz.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291855518 27334 80.91.229.12 (9 Dec 2010 00:45:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 00:45:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 01:45:14 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1PQUdF-000322-Mk for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 01:45:13 +0100 Original-Received: from localhost ([127.0.0.1]:44125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQUdF-000630-71 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 19:45:13 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Injection-Date: Fri, 23 Jul 2010 16:55:54 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="zonOWvH8iMOSVG4S2eKuOA"; logging-data="32692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/388KvYg+gnUT2FLpR/dD4Mu/BRb3qMk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:apVrgRfbVGXoTiJpv5pqeOoPXH8= sha1:VsU3ZXEF903qIdAo/kAsMs31KJU= Original-Xref: usenet.stanford.edu gnu.emacs.help:179990 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76318 Archived-At: Ted Zlatanov writes: > On Wed, 21 Jul 2010 08:10:03 +1000 Tim X wrote: > > TX> Elena writes: >>> Hello, >>> >>> is there a way to name new GUI colors in Emacs, and get them listed in >>> `list-color-display'? Something like this: >>> >>> (set-named-color "army green" "#4B5320") >>> >>> ELisp reference only talks about tty. >>> > > TX> I don't believe so. The colour names are derived from the rgb.txt file > TX> (normally in the /etc/X11 directory on most Linux systems. You could > TX> possibly add your own colour names to this file, but it is prtty > TX> extensive already. > > That seems like a pretty bad limitation, especially where English is not > spoken. Emacs should at least allow naming colors (as opposed to faces) > IMHO. I think it would be ridiculous for Emacs to go on a color naming spree. There is already a number of lists of standard color names. There's one for X11, there's one for html, I'm sure there are lots more. If you think you have a legitimate name for a new color, approach one of the groups that already has a list. Having a color named "army green" with different rbg values will help no one. BTW, which army?