Running Clojure with 'lein swank' on Aquamacs problem

前端 未结 3 1386
遇见更好的自我
遇见更好的自我 2020-12-10 09:43

I installed leiningen and ran lein swank,

  1. sudo lein deps
  2. lein swank

Aquamacs has everything about SLIME, so it\'s OK.

Solution

3条回答
  •  有刺的猬
    2020-12-10 10:06

    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.

提交回复
热议问题