From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Rauchenwald Newsgroups: gmane.emacs.help Subject: Re: unreadable color: how to change lisp comment color (and find its font face)? Date: Thu, 13 Dec 2007 17:21:57 +0100 Message-ID: <877iji7efu.fsf@sec.modprobe.de> References: <74d8179a-d5df-4cd3-94cb-f0c3ef5ec71a@d21g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197566226 18496 80.91.229.12 (13 Dec 2007 17:17:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2007 17:17:06 +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:17:16 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 1J2rgJ-0000Dd-EZ for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Dec 2007 18:17:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2rg1-0000Zg-30 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Dec 2007 12:16:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2rfR-0000Sm-2b for help-gnu-emacs@gnu.org; Thu, 13 Dec 2007 12:16:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2rfO-0000S8-QR for help-gnu-emacs@gnu.org; Thu, 13 Dec 2007 12:16:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2rfO-0000S5-Kq for help-gnu-emacs@gnu.org; Thu, 13 Dec 2007 12:16:10 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J2rfO-0005hg-6W for help-gnu-emacs@gnu.org; Thu, 13 Dec 2007 12:16:10 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J2rME-0006U6-N1 for help-gnu-emacs@gnu.org; Thu, 13 Dec 2007 16:56:22 +0000 Original-Received: from 83-215-41-131.bruck.dyn.salzburg-online.at ([83.215.41.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Dec 2007 16:56:22 +0000 Original-Received: from its.sec by 83-215-41-131.bruck.dyn.salzburg-online.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Dec 2007 16:56:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 83-215-41-131.bruck.dyn.salzburg-online.at User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:6y/4h4gtjYsNDYyzyx7rZ9lVLbk= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:50072 Archived-At: 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! > Markus Tom