joaotavora / sly

Sylvester the Cat's Common Lisp IDE
1.26k stars 142 forks source link

[BUG] `sly-eval-print-last-expression` causes `primitive-undo: Changes to be undone by function different from announced` #469

Open NightMachinery opened 2 years ago

NightMachinery commented 2 years ago

sly-eval-print-last-expression causes primitive-undo: Changes to be undone by function different from announced. This doesn't happen every single time, but perhaps around 50%?

BTW, is there any way to undo anyway when such bugs happen? Or at least reset the undo history, as it seems to corrupt later undoes as well.

My use case is that I want to see the stdout of the evaluation, and then delete the data from the buffer with an undo.

PS: CIDER has a nifty inspect-eval function that shows the result of the evaluation in a popup buffer. Does sly have sth similar?