Hi!

I am trying to start swank separately so that I can connect to it from
a separate emacs instance. It works almost all the way but I never get
a REPL. Here are the details:

Shell:

$ java -cp /home/mathias/tmp/clojure-1.0/clojure-1.0.0.jar:/home/
mathias/clj/swank-clojure clojure.lang.Repl

Clojure:

user=> (require 'swank.swank)
user=> (swank.swank/ignore-protocol-version "2009-05-17")
user=> (swank.swank/start-server "/tmp/slime03" :port 4005 :encoding
"utf-8")

Connection opened on local port  4005

In emacs -Q:

(add-to-list 'load-path "~/clj/slime")
(require 'slime)
(slime-setup)

M-x slime-connect RET RET

In the *Messages* buffer I can see this:

Connecting to Swank on port 4005.. [2 times]
Connected. Hack and be merry!

I can then enter slime-mode and for example eval (+ 1 2) in a buffer
and I
get as reply 3 in the echo area.

So, all seems to be setup properly and working. But, I get no REPL.
Why?

I have tried with clojure 1.0 as well as the most recent one. I use
Emacs 23.1. Slime and swank-clojure are also the most recent versions.

/Mathias

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to