unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Henrik Jegbjerg Hansen <hjh@freecode.dk>
To: help-gnu-emacs@gnu.org
Subject: Font-locking comment delimiter in python.el
Date: Fri, 02 Mar 2007 01:14:45 +0100	[thread overview]
Message-ID: <ls6kb4-lfb.ln1@spielmann.freecode.dk> (raw)

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

             reply	other threads:[~2007-03-02  0:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02  0:14 Henrik Jegbjerg Hansen [this message]
2007-03-03 20:30 ` Font-locking comment delimiter in python.el Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ls6kb4-lfb.ln1@spielmann.freecode.dk \
    --to=hjh@freecode.dk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).