+ Helmut Eller heller@common-lisp.net:
| If this is very important, you could modify slime-repl-return so | that it adds the syntax-table property to occurrences of #; before | testing whether the expression is complete.
It is not terribly important to me, other than in the general sense that correctness is important. 8-)
I looked a bit into the implementation of forward-sexp and found that it relies on the emacs builtin scan-sexps, meaning it is perhaps a bit difficult to override in lisp. However, the variable parse-sexp-lookup-properties seems to offer some hope.
- Harald