Before heading down this path, consider using Emacs Live, which is a nice set of defaults for working with Clojure, Overtone and Quil.
Also, check out this nice write-up on debugging with nREPL.
I also drew inspiration (copied things) from Ryan Neufeld's config, which you should also consider using.
Finally, you can check out my ~/.emacs.d/init.el
config on GitHub.
All this as of May, 2013...
- Follow the install instructions.
- download lein script, it will boot strap itself
- install on path, rename to lein, chmod 755
- run lein --version Leiningen 2.0.0 on Java 1.6.0_37 Java HotSpot(TM) 64-Bit Server VM
- Download latest version: http://emacsformacosx.com, if you want the GUI version
- Or, for CLI, use homebrew
- Or, do both
- look at my init.el
- install the latest version
- install the following packages with
M-x package-install
- clojure-mode
- nrepl
- nrepl-ritz
If you're following along with my terminal helpers repo, do this:
- install the following packages with
M-x package-install
- maxframe
- link .mudphone/config/emacs/vendor to ~/.emacs.d/vendor
- read the docs
- at a minimum, check the keybindings out in the README
- install ac-nrepl
- Check out my init.el file (listed above) for the sections on auto-complete, ac-nrepl section.
There's also Emacs Live: http://overtone.github.com/emacs-live