From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: Naming new GUI colors? Date: Fri, 23 Jul 2010 10:46:24 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y6d22obz.fsf@lifelogs.com> References: <1f9d43c5-e83f-47f8-bbed-15f0f96944b2@l14g2000yql.googlegroups.com> <871vaxn6tg.fsf@puma.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291849325 1925 80.91.229.12 (8 Dec 2010 23:02:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 23:02:05 +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 00:02:02 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 1PQT1M-0007s7-I0 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:02:00 +0100 Original-Received: from localhost ([127.0.0.1]:51563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQT1L-0006XF-TW for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 18:01:59 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!news2.arglkargh.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-X-Trace: news.albasani.net ww4WvY7UhWqilBg2OPGDaSf7tnOZoFcCzDU423l+F982EY192Mqj0o/DjAyuilp5fIrXg+qu3pECTJlVe3RDSXPrbh3K7vRkfxSiQOxNT05jLMJk1FjmKKAjCYxoTcKh Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Fri, 23 Jul 2010 15:46:24 +0000 (UTC) X-User-ID: cjoCAkh4AyjpqYm0HFF7VWvOsTmrrgBUXyJQ0NtAwOo= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:DM9Ug/i+abQ5DXys/nyhlfe/S9o= sha1:OFOKnphj4w1SHhLsYdgpyjm8ZzY= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-NNTP-Posting-Host: xf9u7fEimhlF3HrpeoASdCP/cMu9NW0yBsWz+y3eR/w= Original-Xref: usenet.stanford.edu gnu.emacs.help:179983 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:76177 Archived-At: 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. Ted