I have followed the instructions on Github for setting up swank-js
.
I installed slime
and slime-js
from github and have the following in my .emacs
file:
(add-to-list 'load-path "~/slime/")
(require 'slime-autoloads)
(setq slime-contribs '(slime-fancy slime-repl slime-js))
Then when I run slime-connect
and enter my host and port emacs tells me: void-variable package).
Here is the output from my node server:
Handler.prototype.receive(): (:emacs-rex (swank:connection-info) "COMMON-LISP-USER" t 1)
info = {"pid":6145,"encoding":{"codingSystems":["utf-8-unix"]},"packageSpec":{"name":"NODE","prompt":"NODE"},"implementation":{"type":"JS","name":"JS","version":"1.5"},"version":"2012-02-12"}
response: 0000c1(:return (:ok (:encoding (:coding-systems ("utf-8-unix")) :lisp-implementation (:name "JS" :type "JS" :version "1.5") :package (:name "NODE" :prompt "NODE") :pid 6145 :version "2012-02-12")) 1)
- What can I do to get
swank-js
to work? - What is the
package
variable supposed to be?