Edi Weitz edi@agharta.de writes:
My current guess is that this is somehow related to comint on Windows and the inferior-lisp buffer which is no-no land to me. I can live with the solution sketched in #1 but I'd still be happy to know what's going wrong.
On Unix, Emacs can use a pty or a pipe for communication with subprocesses. The default is pty, but it can be overridden with process-connection-type. Is there a difference if you use the following patch? And out of curiosity, does the problem also occur with XEmacs (for Windows)?
diff -u -F^(.* -r1.473 slime.el --- slime.el 18 Mar 2005 19:27:31 -0000 1.473 +++ slime.el 27 Mar 2005 18:53:51 -0000 @@ -1352,7 +1352,8 @@ (defun slime-inferior-lisp (command buff (let ((args (split-string command))) ; XXX consider: cmucl -eval '(+ 1 2)' (with-current-buffer (get-buffer-create buffername) (comint-mode) - (comint-exec (current-buffer) "inferior-lisp" (car args) nil (cdr args)) + (let ((process-connection-type nil)) + (apply #'start-process "inferior-lisp" (current-buffer) args)) (lisp-mode-variables t) (get-buffer-process (current-buffer)))))