Running Clojure with 'lein swank' on Aquamacs problem

别来无恙 提交于 2019-11-28 10:34:40

I had the same problem if I used (slime-setup '(slime-fancy)). Changing it to (slime-setup '(slime-repl)) fixed it.

I found this the easiest setup for the latest version of everything. Here's a quick summary where I"m assuming you have leiningen installed.

Install the swank-clojure plugin

$ lein plugin install swank-clojure 1.3.2

Create your clojure project

$ lein new test-project
$ cd test-project
$ lein deps

Then open one of the clojure files from your project in emacs and run clojure-jack-in

M-x clojure-jack-in

You are now in a slime buffer with clojure and the dependencies for your project loaded.

I found that I needed this in my .emacs to get it to work:

(eval-after-load "slime"
  '(progn
     (slime-setup '(slime-fancy slime-asdf))))
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!