When a ssh connection is established to a server running sbcl with a swank created remotely a slime-connect fails as it needs the micros fork of slime and therefore a micros server running.
LEM tries to connect but fails with a timeout:
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (new-connection) -
Connecting to SWANK LEM-LISP-MODE/SWANK-PROTOCOL::HOSTNAME: "127.0.0.1"
LEM-LISP-MODE/SWANK-PROTOCOL::PORT: 4005
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Setup connection
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (remote-eval-from-string) -
Sending string to Swank LEM-LISP-MODE/SWANK-PROTOCOL::MSG: "(:emacs-rex (micros:connection-info) \"COMMON-LISP-USER\" T 1)"
LEM-LISP-MODE/SWANK-PROTOCOL::CONTINUATION: NIL
LEM-LISP-MODE/SWANK-PROTOCOL::THREAD: NIL PACKAGE: NIL
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Waiting for response
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Received LEM-LISP-MODE/SWANK-PROTOCOL::INFO: (:READER-ERROR
"(:emacs-rex (micros:connection-info) \"COMMON-LISP-USER\" T 1)"
"Package MICROS does not exist.
Stream: #")
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Read timeout
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Creating the REPL
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (remote-eval-from-string) -
Sending string to Swank LEM-LISP-MODE/SWANK-PROTOCOL::MSG: "(:emacs-rex (micros/repl:create-repl nil :coding-system \"utf-8-unix\") NIL T 2)"
LEM-LISP-MODE/SWANK-PROTOCOL::CONTINUATION: NIL
LEM-LISP-MODE/SWANK-PROTOCOL::THREAD: NIL PACKAGE: NIL
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Waiting for response
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Received LEM-LISP-MODE/SWANK-PROTOCOL::INFO: (:READER-ERROR
"(:emacs-rex (micros/repl:create-repl nil :coding-system \"utf-8-unix\") NIL T 2)"
"Package MICROS/REPL does not exist.
Stream: #")
[15:53:34] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Read timeout
[15:53:34] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Reading rest messages
[15:53:34] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Setup is done now
The repl shows:
`NIL> `
The user does not know what is going on.
When a ssh connection is established to a server running sbcl with a swank created remotely a slime-connect fails as it needs the micros fork of slime and therefore a micros server running.
LEM tries to connect but fails with a timeout: