我无法初始化swank和clojure-jack-in

use*_*817 8 emacs clojure slime swank swank-clojure

我有一个问题.我用橘子酱安装了clojure,slime,slime-repl和elein.现在我打开我的项目并打电话给elein-swank.我明白了:

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
Run Code Online (Sandbox Code Playgroud)

如果我尝试clojure-jack-in,我会得到

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")
Run Code Online (Sandbox Code Playgroud)

我能做什么?

har*_*rto 6

我不确定是什么elein,但我想clojure-jack-in你需要安装swank-clojure插件:

lein plugin install swank-clojure 1.3.3
Run Code Online (Sandbox Code Playgroud)

  • 仅供参考,安装命令应该是`lein plugin install swank-clojure 1.3.3`. (2认同)