Ever wanted to navigate your Clojure code more effectively when in Emacs? Tags are the answer. lein-gentags will generate a TAGS file, which Emacs can then use to enable code navigation features.
lein plugin install lein-gentags "0.0.2-SNAPSHOT"
Then you can run:
lein gentags
To search for a method definition or namespace delclaration, type:
M-. [symbol]
And when prompted navigate to the newly created TAGS file. When this file changes, you'll be prompted to reload the file, although it is possible to do this autoamtically.
Thanks go to Nurullah Akkaya for his blog post outlining the steps to get etags generating the right output for Clojure code.
Copyright (C) 2012 Sam Newman
Distributed under the Eclipse Public License, the same as Clojure.