Skip to content

Instantly share code, notes, and snippets.

@mrBliss
Created July 28, 2011 16:38
Show Gist options
  • Save mrBliss/1111898 to your computer and use it in GitHub Desktop.
Save mrBliss/1111898 to your computer and use it in GitHub Desktop.

SLIME for CL and Clojure (same time, same instance):

SLIME

Use this version of SLIME:

https://github.com/pallet/ritz/tree/develop/slime

SWANK

Clone https://github.com/technomancy/swank-clojure/

Pull in this branch:

technomancy/swank-clojure#48

OR

Cherry-pick these two commits:

https://github.com/TerjeNorderhaug/swank-clojure/commit/9f6f4de4c11b141bf180f7661018dc830a070583 https://github.com/TerjeNorderhaug/swank-clojure/commit/9d90981696f0102a36168326d0fe2b20d9b08fd6

Modify the version string (add "-nowhere_man" or something)

Install your new version of swank-clojure with

lein install

Install it as a plugin so you don't have to add it to the dev-dependencies of every project.clj. Using your VERSION-STRING ofc.

lein plugin install swank-clojure VERSION-STRING

USAGE

M-x slime for CL

and

$ lein swank in your project, M-x slime-connect for Clojure

Use C-c C-x c to select the default connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment