technomancy / swank-clojure

Swank/slime support for clojure
Eclipse Public License 1.0
412 stars 83 forks source link

Make it possible to use stuff from slime-contrib #112

Open ryszard opened 12 years ago

ryszard commented 12 years ago

It would be really great if it was somehow possible to load slime-c-p-c (f-b completes to foo-bar). I tried copy the file form upstream slime, but it seems that there's a version mismatch (the slime bundled with clojure-mode doesn't know anything about define-slime-contrib).

I could try to do it myself and send a pull request, but I am not sure where to find which version of slime is bundled with clojure-mode.

technomancy commented 12 years ago

My github fork of slime is on the same revision as the one that's bundled with swank-clojure. You could put these either in swank-clojure or a separate jar as an elisp payload.

ryszard commented 12 years ago

Sorry if this is a stupid question, but – how do I install a dev version of a leiningen plugin? I forked the repo, made the appropriate edits and I ended up with a jar named swank-clojure-1.5.0-SNAPSHOT.jar. I tried doing "lein plugin install swank-clojure 1.5.0-SNAPSHOT", but it doesn't seem to do what I need.

technomancy commented 12 years ago

Oh yeah, this needs to be better documented. You should be fine using "lein install; lein plugin install [...]" but the thing is the lein tasks have been moved out of swank-clojure into the lein-swank subdirectory. So you'll want to do your work in there.