public
Description: Swank/slime support for clojure
Homepage:
Clone URL: git://github.com/jochu/swank-clojure.git
commit  6015987cf1433651b151cd2580ed9c9ef07a33e7
tree    443053477ea7a6a79093d8722093cc87c17477e0
parent  c1e309dfe53cb45149258404c4db5b53fb5c81b7
name age message
file README Sun Oct 19 13:49:07 -0700 2008 fix typo in README [jochu]
file swank-clojure-autoload.el Sat Nov 01 09:49:37 -0700 2008 make config still work even if slime is not set... [jochu]
file swank-clojure.el Loading commit data...
directory swank/
README
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.