Emacs with mucus and chest for non-leiningen projects

I found this website which explains how to use emacs with leiningen, swank and slime. Is there a way to use slime + swank in projects other than leiningen, that is, how can I connect to slime / swank repl to run the ad-hoc Clojure script while I am writing it as shown here ?

+5
source share
1 answer

You need to have swank-clojure.jarin CLASSPATH, and your script should have the following code:

(require 'swank.swank) 
(swank.swank/start-repl 4005)

to start the swanc process on a port 4005(or some other) ...

P.S. Incanter swank script, , boostrap script

+1

All Articles