In Clojurebox, this seems to be unnecessarily hard to do. Also,
Clojurebox precedes the Clojure-centric build tools (Leiningen and
Cake) which are the most common way to handle the classpath today, The
docs recommend to use swank-clojure-project, but I recommend a more up
to date approach: use Leiningen to handle your project layout and use
the clojure-jack-in of the most recent clojure-mode to start a repl in
the project.

Clojurebox could be described as an installer for some components:
Emacs, Slime ("repl client" in emacs), clojure-mode (syntax
highlighting and indentation), Swank Clojure ("repl server" in
Clojure) and Clojure itself. It is nowadays simple enough to install
these yourself. My personal opinion is that this is a much better
setup than what Clojurebox gives you.

My recommended approach:
1. Prepare a clean install of Emacs 23 or 24 (the one from Clojurebox
contains versions of libraries that might cause conflicts)
2. Take a look at Leiningen, read (at least briefly) about project
structure, and install it: https://github.com/technomancy/leiningen,
https://github.com/technomancy/leiningen/blob/master/TUTORIAL.md
3. Make a new Leiningen project (lein new my-project) and put
Halloway's code in the src/ directory so that introduction.clj is in
src/examples/introductions.clj.
4. Edit project.clj and set the Clojure version you want to use.I
think the book uses "1.1.0".
5. Follow the tutorial by Phil Hagelberg to set up the rest (three
steps): http://technomancy.us/149

There is also a thread about this (Radically simplified Emacs and
SLIME setup) which can be useful if you happen to have any problems:
http://groups.google.com/group/clojure/browse_thread/thread/91d4f13090afb876

After this, you should have state of the art integration between Emacs
and Clojure. Let me know if something in my instructions does not
work, or if you have other questions.

// Rasmus Svensson (raek)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to