Hey!
I am trying to set up clojure for emacs. I use ubuntu and gnu emacs
23. I followed this guide
http://riddell.us/ClojureWithEmacsSlimeSwankOnUbuntu.html
In particular, I did:
~$ cd opt
~/opt$ git clone git://github.com/jochu/clojure-mode.git
~/opt$ git clone git://git.boinkor.net/slime.git
~/opt$ git clone git://github.com/jochu/swank-clojure.git
And then I appended the following to my ~/.emacs:
;; clojure-mode
(add-to-list 'load-path "~/opt/clojure-mode")
(require 'clojure-mode)
;; swank-clojure
(add-to-list 'load-path "~/opt/swank-clojure/src/emacs")
(setq swank-clojure-jar-path "~/.clojure/clojure.jar"
swank-clojure-extra-classpaths (list
"~/opt/swank-clojure/src/main/clojure"
"~/.clojure/clojure-contrib.jar"))
(require 'swank-clojure-autoload)
;; slime
(eval-after-load "slime"
'(progn (slime-setup '(slime-repl))))
(add-to-list 'load-path "~/opt/slime")
(require 'slime)
(slime-setup)
However, when I start emacs I can't do M-x slime. What did I do wrong?
Just so you know, I just switched to ubuntu from windows today, and
I'm a beginner at clojure, git, linux, emacs... you name it. :)
--
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