LISP string syntax highlighting help
From: moffatt (moffatt.1c2ttp_at_mail.codecomments.com)
Date: 09/04/04
- Next message: Marcin 'Qrczak' Kowalczyk: "Re: Unicode LISP??"
- Previous message: pkhuong: "Re: arrays or lists ?"
- Next in thread: John Thingstad: "Re: LISP string syntax highlighting help"
- Reply: John Thingstad: "Re: LISP string syntax highlighting help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 4 Sep 2004 09:48:04 -0500
Hello,
I am attempting to create my first major mode in LISP EMACS and I am
running into a bit of a problem with my string highlighting. When I do
nothing for string highlighting I get some sort of default string
highlighting which is great, however it seems to take priority over my
own comment highlighting. Thus if there is a quote anywhere in a
comment, the line is no longer highlighted with my
font-lock-comment-face. I am able to disable the default string
highlighting
(setq font-lock-string-face nil) and implement my own,
("\".*\"" . font-lock-cstol-string-face)
However it is not as robust since it is not correct for multiple
strings on one line.
Does anyone know how I can get over this priority highlighting issue?
Thanks.
-- moffatt ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------
- Next message: Marcin 'Qrczak' Kowalczyk: "Re: Unicode LISP??"
- Previous message: pkhuong: "Re: arrays or lists ?"
- Next in thread: John Thingstad: "Re: LISP string syntax highlighting help"
- Reply: John Thingstad: "Re: LISP string syntax highlighting help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|