#11 Wrong comment detection in reindent-lisp

open
nobody
None
5
2002-08-09
2002-08-09
Anonymous
No

reindent-lisp (in ilisp-ext.el) uses a custom comment
detector,
which presupposes non-inline-comments and can fail for
inline
commented code.

Here is a test case:

(foobar

mix ;foo
;bar
Pressing M-q on bar, or on the next line, or in other
places,
doesn't join the comments and produces strange
behaviour. Tracing
reindent-lisp shows that point is not correctly
diagnosed as
being in a comment.

I'd be happy to provide feedback and test fixes, or
serve as a target if this turns out to be a feature :)

--Tony

Discussion

  • Logged In: NO

    Erm, and that "me" is hopefully included with this comment.
    Sorry about that.

    --Tony