[OT?] multi-line comment font-lock problem for lisp-mode
Torsten Anders <[email protected]> 12 Feb 2003 11:41:07 +0000
| Newsgroups | gmane.lisp.ilisp.general |
|---|---|
| Message-ID | <1045050067.1269.225.camel@chewa> |
Hi,
Sorry, I am not quite sure whether this list is the right place to ask.
My problem is related to the font-lock-mode for lisp-mode, no idea
whether this is influenced by ilisp. Anyway, I do believe some people
here came across the same issue.
I am used to put some tests calls in my code (commented out). So I
surround them by #| and |#. Emacs colours multi-line comments properly
as long as they only contain text. But as soon as I put code in the
comment (i.e. a line starting with an open parenthesis), the colouring
becomes, well, strange (i.e. rather complicated behaviour). E.g., all
code after the multi-line comment (i.e. starting with the the | in |#)
is coloured in string face (up the the next |).
I read in the Emacs doc that an open parenthesis always starts a new
code block (e.g. a defun). Is there some way to switch of this
behaviour?
Thanks!
Kind regards,
Torsten Anders
PS: I am running GNU-Emacs 21.2 and ilisp-5.12.0 on a RH 8.0 Linux box
(I believe I also saw this problem on Emacs running on Win).
--
Torsten Anders
Sonic Arts Research Centre
Queens University Belfast
Tel: +44 28 9027 4831 (office)
+44 28 9066 7439 (private)
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com