all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Font-locking comment delimiter in python.el
@ 2007-03-02  0:14 Henrik Jegbjerg Hansen
  2007-03-03 20:30 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Henrik Jegbjerg Hansen @ 2007-03-02  0:14 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Font-locking comment delimiter in python.el
  2007-03-02  0:14 Font-locking comment delimiter in python.el Henrik Jegbjerg Hansen
@ 2007-03-03 20:30 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2007-03-03 20:30 UTC (permalink / raw)
  To: help-gnu-emacs

> 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 -- 

Of course it is.  It gets font-lock-comment-delimiter-face.


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-03 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02  0:14 Font-locking comment delimiter in python.el Henrik Jegbjerg Hansen
2007-03-03 20:30 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.