Open Zulu-Inuoe opened 4 years ago
Seems to me it's not correctly grabbing the last expression
Yes this is probably a bug. I wonder if SLIME doesn't have the same problem. If it doesn't, we should just copy it solution. But I'm 90% sure it does.
This is tricky, it has to do with the "syntax" of the Lisp-mode buffer. There are some overrides possible, with forward-sexp-function
, but it would need a great load of testing to be sure we aren't breaking anything.
Anyway, thanks for reporting this.
In a buffer with
Placing the cursor after the closing parens and
C-x C-e
will land me in the debugger with:Similar results for
with
Seems to me it's not correctly grabbing the last expression