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: Mon, 26 Jul 2010 14:08:01 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87aape12pa.fsf@lifelogs.com> References: <1f9d43c5-e83f-47f8-bbed-15f0f96944b2@l14g2000yql.googlegroups.com> <871vaxn6tg.fsf@puma.rapttech.com.au> <87y6d22obz.fsf@lifelogs.com> <87d3ud3o6n.fsf@lifelogs.com> <87bp9xn3xi.fsf@puma.rapttech.com.au> <87vd821i6o.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 1291857417 2061 80.91.229.12 (9 Dec 2010 01:16:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 01:16:57 +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 02:16:53 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 1PQV7t-0008KF-0X for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:16:53 +0100 Original-Received: from localhost ([127.0.0.1]:38331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQTVT-0004wa-8e for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 18:33:07 -0500 Original-Path: usenet.stanford.edu!newsfeed.esat.net!feeder.news.heanet.ie!feeder.erje.net!news2.arglkargh.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: news.albasani.net DnDRCybybwfMbYAVpW91NF3rjQ/bPEjtwTaBY5PWud/fK36c+F8MXsU9C7EfZFK2bHkMqeHymBj0xQWQI/bLny50Ggxj+yq4PlkKUDCXbhhwyAC/Wb0cLMLRFHDV/lGz Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 26 Jul 2010 19:08:01 +0000 (UTC) X-User-ID: FJv4s76rZWiM+NoQX6J4p913VgRMBu3s8Y7cvwu54NM= 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:gTDs96n4rZHolfB+a733x0nFQPU= sha1:2NNJwZ+cxrA8k7MVl6wdktgp8tY= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-NNTP-Posting-Host: ptz+x6LcTY0Tapb3lI8ovCJ8aHufUcz09iOpt0dPYOc= Original-Xref: usenet.stanford.edu gnu.emacs.help:180079 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:76365 Archived-At: On Mon, 26 Jul 2010 09:50:09 -0400 despen@verizon.net wrote: d> Ted Zlatanov writes: D> On Sat, 24 Jul 2010 10:01:29 +1000 Tim X wrote: >> TX> You can define any colour you want using the existing mechanism by using TX> the # hex notation. You are not restricted to just using the 'named' TX> colours. >> >> Most users don't speak hex. I don't want to parse hex every time I look >> at my face definitions. d> Does this do what you want? d> (setq my-red "#FF0033") d> (set-face-foreground 'default my-red) Yes. Amazingly, I never thought of just using a variable there. Thanks. Ted