[slime-devel] Re: syntax highlighting and comments using the #| |# reader syntax

Helmut Eller heller at common-lisp.net
Thu Jun 14 07:23:46 UTC 2007


* Evan Monroig [2007-06-14 03:56+0200] writes:

> For example, in the blurb below, the third "defun" form is displayed
> as a comment.
>
> Is this normal behavior?

Looks right to me.  AFAICT, the third defun is actually in a comment.
Emacs 22 also seems to understand nested comments like:
 
 "a" #| "b" |# "c" #| "d" #| "e" |# "f" |# "g"

a, c, and g are correctly highlighted as strings and the others as
comments.

The opening paren of the third defun is highlighted. As explained in
the manual, that can be avoided by writing \(. See:

  http://www.gnu.org/software/emacs/manual/html_node/emacs/Left-Margin-Paren.html#Left-Margin-Paren

Helmut.




More information about the slime-devel mailing list