jochu / swank-clojure

Swank/slime support for clojure

This URL has Read+Write access

swank-clojure / README
100644 46 lines (29 sloc) 1.369 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Copyright (C) 2008 Jeffrey Chu
 
This file is licensed under the terms of the GNU General Public
License as distributed with Emacs (press C-h C-c to view it).
 
Installation
 
  1. Download & install CVS/SVN versions of clojure [1] and slime [2].
        
  2. Add swank-clojure to your .emacs file:
 
       (add-to-list 'load-path "/path/to/swank-clojure")
       (require 'swank-clojure-autoload)
 
  3. Customize the path to your clojure jar file. Optionally, also
     customize other classpath information. [3]
 
       (require 'swank-clojure-autoload)
       (swank-clojure-config
         (setq swank-clojure-jar-path "/path/to/clojure.jar")
         (setq swank-clojure-extra-classpaths (list "/path/to/extra/classpaths")))
 
         or
 
       (require 'swank-clojure)
       M-x customize-group swank-clojure
 
  4. Optionally, add your default lisp implementation back into slime
     (add to .emacs):
 
       Example for sbcl:
         (add-to-list 'slime-lisp-implementations '(sbcl ("sbcl")))
 
  5. Start slime!
 
       M-x slime
 
       Or if you did step 4:
          M-- M-x slime clojure
 
 
[1] Clojure SVN: http://sourceforge.net/svn/?group_id=137961
[2] Slime CVS: http://common-lisp.net/project/slime/#downloading
[3] If you want to configure swank-clojure to use a custom binary or
    sh-script, you may configure swank-clojure-binary instead.