From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Henrik Jegbjerg Hansen Newsgroups: gmane.emacs.help Subject: Font-locking comment delimiter in python.el Date: Fri, 02 Mar 2007 01:14:45 +0100 Organization: Church of Emacs Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172799668 14645 80.91.229.12 (2 Mar 2007 01:41:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2007 01:41:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 02 02:41:01 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 1HMwlY-0005RY-75 for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Mar 2007 02:41:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMwlX-0000Hu-PK for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Mar 2007 20:40:59 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux) Original-Lines: 16 Original-NNTP-Posting-Host: 62.243.93.46 Original-X-Trace: 1172797201 dread12.news.tele.dk 903 62.243.93.46:47714 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:145975 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:41580 Archived-At: I have a problem with python.el in GNU Emacs 22.0.93.1. The comment starter (#) is not font-locked, and I don't know of a way to fix this -- I am not familiar with how syntax-tables work, and it seems this is what I need to do. I don't want the whole comment line red; I know this is (set-face-foreground `font-lock-comment-face "red"). I just want the '#' to be red. Can anyone help? BTW, is this a bug in python.el? I switched from the external python-mode.el to python.el because the latter provides eldoc functionality. Thanks, Henrik Jegbjerg Hansen