From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Dehmann Newsgroups: gmane.emacs.help Subject: Re: unreadable color: how to change lisp comment color (and find its font face)? Date: Thu, 13 Dec 2007 09:38:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <268604f9-5400-4c7d-ae31-d9eea4877bfd@s19g2000prg.googlegroups.com> References: <74d8179a-d5df-4cd3-94cb-f0c3ef5ec71a@d21g2000prf.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197567691 23678 80.91.229.10 (13 Dec 2007 17:41:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2007 17:41:31 +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 13 18:48:29 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1J2sAZ-0005Gn-Dw for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Dec 2007 18:48:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2s3Z-0000Ir-G4 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Dec 2007 12:41:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s19g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 71.166.16.133 Original-X-Trace: posting.google.com 1197567496 27102 127.0.0.1 (13 Dec 2007 17:38:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 13 Dec 2007 17:38:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s19g2000prg.googlegroups.com; posting-host=71.166.16.133; posting-account=S9AQIAoAAAB4GxI-BGAtHONr33Ny0Xlu User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.3) Gecko/20070329 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154646 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:50074 Archived-At: On Dec 13, 11:21 am, Tom Rauchenwald wrote: > Markus Dehmann writes: > > I use color-theme, and I like color-theme-xp (sorry!). However, there > > is one disturbing thing about it: It shows lisp comments (e.g. in > > my .emacs) in the same color as the background! How can I change that? > > > I know I can do M-x color-theme-print and it prints the function for > > the color theme, which I can modify. But I don't know what font-face > > is used by lisp comments, so I can't change its appearance. > > > How can I find out what font-face is used by lisp comments so I can > > change its color? > > In emacs22 just put point where the comment is, and invoke M-x > describe-face. > Looks like font-lock-comment-face is what you are looking for. > Thanks all! Yes, changing font-lock-comment does the trick. M-x describe-face doesn't work for me, but that's probably because I have an old emacs version (21.3.1). Markus