swank-clojure icon indicating copy to clipboard operation
swank-clojure copied to clipboard

Make it possible to use stuff from slime-contrib

Open ryszard opened this issue 12 years ago • 3 comments

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.

ryszard avatar Mar 04 '12 09:03 ryszard

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.

technomancy avatar Mar 04 '12 17:03 technomancy

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.

ryszard avatar Mar 05 '12 01:03 ryszard

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.

technomancy avatar Mar 05 '12 18:03 technomancy