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: Wed, 28 Jul 2010 08:12:54 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87tynju4vd.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> <87aape12pa.fsf@lifelogs.com> <86lj8xnf83.fsf@aiuole.stru.polimi.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291858764 6886 80.91.229.12 (9 Dec 2010 01:39:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 01:39:24 +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:39:20 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 1PQVTQ-0008QK-Jh for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:39:08 +0100 Original-Received: from localhost ([127.0.0.1]:34752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQVTQ-0008Ga-6O for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:39:08 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!news.mixmin.net!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: news.albasani.net HEZaZBSYlRwu3Qh+Y24NWVrmIEYqBw59dUlqa1aLrdWiIhSd+OGkU4uCvYaKaxVdxTspPpkIsfZaEj3VRGtUAR6NQVik2p/ctx94EI35C+voilhAo2Dh6xNdfJgebXx5 Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Wed, 28 Jul 2010 13:12:54 +0000 (UTC) X-User-ID: hyKH2cbc6Y+C24KTRj73rTVqFI4XyeVk2Eydyr6Atyc= 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:Wc/F1SD0zGWhbN2Se8rJ1r1OUj8= sha1:AHH1fNlk6XRZcMI8TZV7Fkm1hc8= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-NNTP-Posting-Host: vklYxaeKjq/SG/u1ScsgV0pnj0OGbLQbctVmevw0PWc= Original-Xref: usenet.stanford.edu gnu.emacs.help:180136 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:76399 Archived-At: On Tue, 27 Jul 2010 19:28:42 -0400 despen@verizon.net wrote: d> Giacomo Boffi writes: >> Ted Zlatanov writes: >> >>> On Mon, 26 Jul 2010 09:50:09 -0400 despen@verizon.net wrote: >>> 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. >> >> if you complete on color names, like you do e.g. in customize-face, do >> you get my-red in the proposed completions? d> Of course not. d> Don't go changing the requirements, it took us long enough to get this d> far. It's a reasonable question. Probably the easiest way is to hook into anything.el rather than modify the Emacs color completions. Ted