On Tue, Sep 28, 2010 at 4:17 AM, Alex <yal...@gmail.com> wrote:
> Then, I did:
> $ lein swank
> user=> Connection opened on local port  4005
> #<ServerSocket ServerSocket[addr=localhost/
> 127.0.0.1,port=0,localport=4005]>
>
> First question: why no visible output?

Running "lein swank" just launches a swank server. It doesn't run any
of your project's code. Once you connect via slime, you can use C-c
C-k to compile a given namespace. But generally it's poor form to have
side-effects in the top-level; you should wrap your code in a defn and
run that function at the repl.

> Still hoping, I launched emacs (actually Aquamacs, cuz I'm not that
> comfortable with yanking) and:
> 1. opened test-project/src/test_project/core.clj

This may work, but Aquamacs is not officially supported since it's not
portable; I can't run it on my machine to test. Some people use it OK,
but GNU Emacs has much better compatibility.

> 2. M-x slime-connect
> Versions differ: 2010-09-22 (slime) vs. 20100404 (swank). Continue? (y
> or no)
>
> Hem. Why that?

That's a bug in the packaging of SLIME.

-Phil

-- 
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