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

Marco Antoniotti marcoxa at cs.nyu.edu
Thu Jun 14 08:30:31 UTC 2007


On Jun 14, 2007, at 4:06 AM, Brian Mastenbrook wrote:

> Evan Monroig wrote:
>> Hi,
>> When I insert multiple region comments using the #| |# reader syntax,
>> some of the code between the comments becomes highlighted as if it
>> were part of the comments.
>> For example, in the blurb below, the third "defun" form is displayed
>> as a comment.
>
> This is a longstanding bug (more like design flaw) in the way that  
> Emacs does font lock. You can put a space before the defun form to  
> avoid this issue.
>

Yep.  And a very annoying indeed.  Sometimes I work around the bug by  
using #|| and ||# to delimit comments.   However you loose the  
comment highlighting.

Cheers

Marco







More information about the slime-devel mailing list