Hi All,
I am a dumb around here. my first post among many to come :)
I setup clojurebox to work thru the book. I am a newbie to emacs and
to clojure. I don't mind the learning curve to emacs.
I am completely blank about configuring Clojurebox.
Here's what I want to do:
1) load all the code-examples and the related jar-files of the book -
when I load ClojureBox.
2) Where do I find the .emacs for Clojure Box? As I understand that I
will have to modify this file to include the libraries/folder-path. I
don't see one...
3) I have been trying to do (load-file
"code.examples.introduction.clj") [my home directory being c:\emacs
and the code folder inside the emacs folder.] and I always get the
File-not-found exception.
Thanks Shawn, Robert.
From Robert's post, I am bit confused here. I also read that .emacs is
in %appdata% folder (vista), but all I see is .emacs.d folder (which I
guess is for the emacs server). I tried creating one "C-x C-f
~/.emacs" - under my home-directory (C:\emacs). Should i just create
a .emacs under %appdata%/.emacs.d OR right under %appdata%?
From the EmacsWiki [1]: "If the init file ~/.emacs does not exist,
Emacs will try ~/.emacs.d/init.el"
Since you usually have more than a couple of things that you want to
configure, emacs.d gives you a directory instead of a file for
configuration. That makes it easier to keep things organized. If you
put what you want into %appdata%/.emacs.d/init.el, you should be fine.
I guess ClojureBox is a good starting point for Emacs with Clojure. A
little bit more general is the Emacs starter kit [2] from Phil
Hagelberg (Clojure regular), and if nothing else, reading the readme
(displayed on the linked page) is recommended because it gives you a
bit of intro on Emacs configuration (ClojureBox might even use the
starter kit, but according to this [3] it doesn't. Didn't check
though).
Hope that helps
Cheers,
Daniel
[1] http://www.emacswiki.org/emacs/DotEmacsDotD
[2] http://github.com/technomancy/emacs-starter-kit/tree/master
[3] http://groups.google.com/group/clojure/browse_thread/thread/6fd17fb97f058192