I'm having trouble using Emacs' Find Source command to navigate to
Clojure source.
I'm using Leiningen (1.4.2) and Emacs (23.2).
I have a project.clj file with the following:
(defproject sk-mini-project-1-2-0 "0.0.1-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]]
:dev-dependencies [[clojure-source "1.2.0"]
[swank-clojure "1.2.1"]])
I thought this would be enough to allow the Emacs Find Source command
(meta-.) to find Clojure source code. But when, for example, I try
meta-. on reduce, Emacs jumps to a buffer showing this line...
-rw-r--r-- 2077 19-Aug-2010 11:06:06 clojure/core
$nth__inliner.class
...in the buffer described as follows...
% clojure-1.2.0.jar 3428176 Zip-Archive [...]/sk-mini-
project-1-2-0/lib/clojure-1.2.0.jar
FWIW, running
lein classpath
gives a result that includes the source jar. The full classpath has:
[...]\sk-mini-project-1-2-0\src
[...]\sk-mini-project-1-2-0\test
[...]\sk-mini-project-1-2-0\classes
[...]\sk-mini-project-1-2-0\test-resources
[...]\sk-mini-project-1-2-0\resources
[...]\sk-mini-project-1-2-0\lib\clojure-1.2.0.jar
[...]\sk-mini-project-1-2-0\lib\clojure-contrib-1.2.0.jar
[...]\sk-mini-project-1-2-0\lib\dev\clojure-source-1.2.0.jar
[...]\sk-mini-project-1-2-0\lib\dev\swank-clojure-1.2.1.jar
Do I have something missing somewhere?
Simon
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en