emacsclojureslimeswankswank-clojure

I can't initialize neither swank nor clojure-jack-in


I've a problem. I've installed clojure, slime, slime-repl and elein using marmalade. Now I open my project and call elein-swank. I get this:

Starting swank..
error in process filter: slime-presentation-init-keymaps: Symbol's function definition is void: slime-define-both-key-bindings
error in process filter: Symbol's function definition is void: slime-define-both-key-bindings

and If I try clojure-jack-in I get

Debugger entered--Lisp error: (error "Could not start swank server: That's not a task. Use \"lein help\" to list all tasks.
signal(error ("Could not start swank server: That's not a task. Use \"lein help\" to list all tasks.\n"))
error("Could not start swank server: %s" "That's not a task. Use \"lein help\" to list all tasks.\n")
  clojure-jack-in-sentinel(#<process swank> "exited abnormally with code 1\n")

What can I do?


Solution

  • I'm not sure what elein is, but I think for clojure-jack-in you need to install the swank-clojure plugin:

    lein plugin install swank-clojure 1.3.3