[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Font-locking comment delimiter in python.el

From: Henrik Jegbjerg Hansen
Subject: Font-locking comment delimiter in python.el
Date: Fri, 02 Mar 2007 01:14:45 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.93 (gnu/linux)

I have a problem with python.el in GNU Emacs  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.

Henrik Jegbjerg Hansen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]