From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.help Subject: RE: Font lock, retrieving values of standard colors Date: Tue, 13 Feb 2007 17:56:19 +0800 Message-ID: References: <1171356797.821912.38650@a75g2000cwd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1171360612 14656 80.91.229.12 (13 Feb 2007 09:56:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Feb 2007 09:56:52 +0000 (UTC) To: augukarl@yahoo.se, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 13 10:56:46 2007 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.50) id 1HGuOz-0002Og-C7 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Feb 2007 10:56:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGuOy-0006DW-Se for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Feb 2007 04:56:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HGuOh-00069v-6C for help-gnu-emacs@gnu.org; Tue, 13 Feb 2007 04:56:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HGuOe-00066r-SX for help-gnu-emacs@gnu.org; Tue, 13 Feb 2007 04:56:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGuOe-00066m-J7 for help-gnu-emacs@gnu.org; Tue, 13 Feb 2007 04:56:24 -0500 Original-Received: from bay0-omc2-s15.bay0.hotmail.com ([65.54.246.151]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HGuOe-0002gF-6a for help-gnu-emacs@gnu.org; Tue, 13 Feb 2007 04:56:24 -0500 Original-Received: from hotmail.com ([64.4.26.28]) by bay0-omc2-s15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Tue, 13 Feb 2007 01:56:22 -0800 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 13 Feb 2007 01:56:22 -0800 Original-Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Tue, 13 Feb 2007 09:56:19 GMT X-Originating-IP: [216.145.54.158] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: <1171356797.821912.38650@a75g2000cwd.googlegroups.com> X-OriginalArrivalTime: 13 Feb 2007 09:56:22.0452 (UTC) FILETIME=[37741F40:01C74F55] X-detected-kernel: Windows 2000 SP4, XP SP1+ 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:41152 Archived-At: >Does anyone know how to retrieve the (hex) values of the colors in the >standard color theme with Emacs, i.e. what's the color code for font- >lock-string-face, font-lock-variable-name-face etc. ELISP> (face-attribute 'font-lock-string-face :foreground) "red" ELISP> (color-values "red") (65535 0 0) Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/