joaotavora / sly

Sylvester the Cat's Common Lisp IDE
1.23k stars 139 forks source link

comma misbehaving in the SLY mrepl #635

Open psilord opened 2 months ago

psilord commented 2 months ago

Hello,

Sometimes, in a way that I can't seem to reproduce, but it happens often, the SLY repl stops processing the comma commands.

So, stuff like:

,restart-lisp

is just entered directly in the prompt and of course the lisp complains about comma not inside a backquote.

It seems to be triggered when I'm entering a condition handler. Most of the time it is correct when I exit it, but sometimes the comma handling just gets forgotten about. This often leads me to having to restart my SLY session since I'm usually wanting to ,restart-lisp.

If I could get any help in debugging this or narrowing down exactly when it happens, I'd be much obliged!

Thank you!

aadcg commented 2 months ago

AFAIK , runs sly-mrepl-shortcut, unless the prompt has a backquote.

psilord commented 2 months ago

This is very useful to me when it happens again! Thank you very much!

If I can do some kind of debugging to find out why the comma stops being handled in the repl, I'll gladly run the experiment and post the results here.