joaotavora / sly

Sylvester the Cat's Common Lisp IDE
1.27k stars 145 forks source link

(setq comint-process-echoes t) breaks interaction with slynk #254

Open sebasmonia opened 5 years ago

sebasmonia commented 5 years ago

I lifted this code from somewhere to stop cmd.exe using M-x shell from echoing commands back to me:

(defun hoagie-comint-init ()
  (setq comint-process-echoes t))
(add-hook 'comint-mode-hook #'hoagie-comint-init)

It worked! but then Sly's REPL didn't respond after my input until I pressed C-g. Using toggle-debug-on-quit it seems that the code is waiting for output. But I suspected this has more to do with Slynk not getting my input.

joaotavora commented 5 years ago

ACK. You probably should have set that variable just for shell-mode, but SLY could/should also override for sly-mrepl.el