From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giacomo Boffi Newsgroups: gmane.emacs.help Subject: Re: Naming new GUI colors? Date: Thu, 22 Jul 2010 20:12:25 +0200 Organization: One Step Beyond Message-ID: <86mxtjmlme.fsf@aiuole.stru.polimi.it> 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 1291848610 31108 80.91.229.12 (8 Dec 2010 22:50:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 22:50:10 +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:50:06 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 1PQSpp-00023S-Ox for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:50:05 +0100 Original-Received: from localhost ([127.0.0.1]:43472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQSpo-0008Os-Po for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:50:04 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!open-news-network.org!newsfeed.utanet.at!newscore.univie.ac.at!newsserver.news.garr.it!newsserver.cilea.it!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: donzauker.stru.polimi.it Original-X-Trace: newsserver.cilea.it 1279822368 19182 131.175.189.147 (22 Jul 2010 18:12:48 GMT) Original-X-Complaints-To: news@cilea.it Original-NNTP-Posting-Date: 22 Jul 2010 18:12:48 GMT User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b29 (linux) Cancel-Lock: sha1:bmnE2VYyskLERb/Z+nbN6HH+TrY= Original-Xref: usenet.stanford.edu gnu.emacs.help:179944 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:76159 Archived-At: Tim X writes: > 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. X built with default options from recent (4 or 5 years) reference only a builtin, as at compile time, rgb database afaict, no major linux distributions change this particular default (i tried to change debian mantainers opinion on this respect, but failed) ciao g -- We weren't lovers like that and besides it would still be all right.