Emacs (Cocoa Emacs) vs Aquamacs for running Clojure on Mac OS X

后端 未结 3 1770
春和景丽
春和景丽 2020-12-05 01:07

I used Aquamacs so far, and I need to install and run Clojure using SLIME. I googled to get some way to use Clojure on SLIME of Aquamacs, but without success.

Ques

3条回答
  •  误落风尘
    2020-12-05 02:00

    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.

提交回复
热议问题