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

Evan Monroig evan.monroig at gmail.com
Thu Jun 14 06:21:11 UTC 2007


On 6/14/07, Brian Mastenbrook <brian at mastenbrook.net> wrote:
> Evan Monroig wrote:
> > 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.

Thanks a lot for your response.  I understand that it is difficult to fix.

How exactly do you arrange the source code to avoid this issue?  I
tried putting a space before the defun form (on the same line), but
the highlighting does not change.

Thanks,

Evan



More information about the slime-devel mailing list