Closed leungbk closed 11 months ago
I am on Emacs 30 6abea4d98d1d964c68a78cb9b5321071da851654
.
I can reproduce this on e.g. Emacs 28.2 so it's not some sort of bleeding edge problem.
It seems to happen only when the "defun" is the first non-space thing in the file. (For example it won't happen in a "normal" file with a #lang
line -- which is probably why I haven't noticed this bug in many many years.)
So on the one hand I could imagine choosing not to fix this if it risked introducing new, worse bugs.
But on the other hand I think I see where the problem is, in racket-sexp-comment-start
. That seems safe to change. So I plan to do that...
When I
emacs -q
a config containing nothing but a basicracket-mode
configand open a
hello.rkt
fileI find that
C-x n d
at various points in the function cuts off some unexpected text.