From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Naming new GUI colors? Date: Wed, 21 Jul 2010 08:10:03 +1000 Organization: Unlimited download news at news.astraweb.com Message-ID: <871vaxn6tg.fsf@puma.rapttech.com.au> References: <1f9d43c5-e83f-47f8-bbed-15f0f96944b2@l14g2000yql.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291848103 28762 80.91.229.12 (8 Dec 2010 22:41:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 22:41:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 23:41:39 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 1PQShe-0006DL-OY for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:41:38 +0100 Original-Received: from localhost ([127.0.0.1]:34780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQShe-0003sJ-7U for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:41:38 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:RtGtHST7USkkXqfw42UFVe1jnn0= Original-Lines: 22 Original-NNTP-Posting-Host: 8d545b17.news.astraweb.com Original-X-Trace: DXC=6HfAJ9?Cdgl<^_jE4S2b@oL?0kYOcDh@jSBc; \8ijUdkk^lO5Gk8OVj92R9O=Y2; 6lgaY_W>]7a9e Original-Xref: usenet.stanford.edu gnu.emacs.help:179871 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:76148 Archived-At: 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. > I don't believe so. The colour names are derived from the rgb.txt file (normally in the /etc/X11 directory on most Linux systems. You could possibly add your own colour names to this file, but it is prtty extensive already. Tim -- tcross (at) rapttech dot com dot au