A collection of Emacs hacks and tweaks for Clojure development.
Emacs Lisp
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
recipes
.gitignore
README.org
browse-w3m.el
clojure-mode-ext.el
clojure-mode-slime.el
clojure-slime-ext.el
clojure-test-mode-slime.el
clojuredocs.el
clojurescript-mode-ext.el

README.org

Clojure Emacs Hacks

A collection of Emacs hacks and tweaks for Clojure development.

Clojure Mode Extensions

clojure-mode-ext.el is a collection of Clojure development extensions on top of the clojure-mode.

Provides cljx/slime-compile-file - which is a convenient way to (remove-ns ..) the current namespace and recompile.

Provides cljx/slime-edit-definition which can fallback to using TAGS to find Java interop code within .java files.

Adds some bindings in the slime and clojure-mode keymaps.

Clojure Mode Slime

clojure-mode-slime.el restores slime integration in clojure-mode 2.0.

Clojuredocs

clojuredocs.el provides a simple interface to lookup Clojure documentation from the excellent clojuredocs.org web site, without leaving the comfort of Emacs - courtesy of w3m and emacs-w3m.

Provides the M-x clojuredocs command, which will get the symbol at point; or prompt for a symbol name, look it up in clojuredocs.org, or find the javadoc for Java classes, and render the results using the default browser.

Also see browse-w3m.el for an example of how to setup w3m as the default browser.

Installation

Just add the following to your ~/.emacs or ~/.emacs.d/init.el file:

:(require ‘clojure-mode-ext) :(require ‘clojure-mode-slime) :(require ‘clojuredocs)

and, optionally add:

:(cljx/basic-init)

which adds some useful defaults for indenting with spaces only and ensuring files are saved with a final newline.