LISP string syntax highlighting help

From: moffatt (moffatt.1c2ttp_at_mail.codecomments.com)
Date: 09/04/04


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


Relevant Pages

  • RE: Find and highlight results macro
    ... If you already have an coloured cell selected PRIOR to running the macro ... Dim Findstr As String ... Have it use the currently selected fill color for the highlighting? ...
    (microsoft.public.excel.programming)
  • Re: Variablen in Shell-Skript
    ... Ich hab das ganze mal kopiert und im vi sieht man den Fehler am Highlighting sehr schoen: ... (von einzelnen Anfuehrungszeichen eingerahmt). ... Dies fuehrt dazu, dass es als string interpretiert wird, nichts davon wird ausgefuehrt. ...
    (de.comp.os.unix.linux.misc)
  • RE: Find and highlight results macro
    ... Have it use the currently selected fill color for the highlighting? ... Dim Findstr As String ... > What I need is a macro that will prompt me for a string to ...
    (microsoft.public.excel.programming)
  • Macro
    ... Anyone have a simple method of highlighting a row ... input the search string. ... Sounds like I need a macro? ... John ...
    (microsoft.public.word.general)
  • Re: Error 4609 string too long
    ... but I'm still getting the same "string too long" ... When the macro is running, it seems like it is trying to insert the ... How would I turn off the highlighting after the text has ... > should be only three lines in the VBA editor. ...
    (microsoft.public.word.vba.general)