>> (push "/home/boris/.emacs.d" load-path)
>This is actually already on the load-path by default; no need to add it.
Standard load-path on ubuntu didn't include ~/.emacs.d for me. Not
sure why not.
load-path is a variable defined in `C source code'.
Its value is
("/etc/emacs-snapshot" "/etc/emacs" "/usr/local/share/emacs/23.0.60/
site-lisp" "/usr/local/share/emacs/site-lisp" "/usr/share/emacs/
23.0.60/site-lisp" "/usr/share/emacs/site-lisp" "/usr/share/emacs/
23.0.60/lisp" "/usr/share/emacs/23.0.60/lisp/url" "/usr/share/emacs/
23.0.60/lisp/textmodes" "/usr/share/emacs/23.0.60/lisp/progmodes" "/
usr/share/emacs/23.0.60/lisp/play" "/usr/share/emacs/23.0.60/lisp/org"
"/usr/share/emacs/23.0.60/lisp/obsolete" "/usr/share/emacs/23.0.60/
lisp/nxml" "/usr/share/emacs/23.0.60/lisp/net" "/usr/share/emacs/
23.0.60/lisp/mh-e" "/usr/share/emacs/23.0.60/lisp/mail" "/usr/share/
emacs/23.0.60/lisp/language" "/usr/share/emacs/23.0.60/lisp/
international" "/usr/share/emacs/23.0.60/lisp/gnus" "/usr/share/emacs/
23.0.60/lisp/eshell" "/usr/share/emacs/23.0.60/lisp/erc" "/usr/share/
emacs/23.0.60/lisp/emulation" "/usr/share/emacs/23.0.60/lisp/emacs-
lisp" "/usr/share/emacs/23.0.60/lisp/calendar" "/usr/share/emacs/
23.0.60/lisp/calc" "/usr/share/emacs/23.0.60/leim")
Anyway,
1. Creating a .emacs with the load-path .emacs.d
2. Downloading clojure-mode.el
3. replacing git:// with http:// to get past my proxy
4. The slime git kept failing (stalled somewhere near the end of
downloading), so I removed that line from clojure-mode.el and
installed a snapshot of slime myself.
5. The clojure git failed as well, I replaced it with the "svn
checkout http://clojure.googlecode.com/svn/trunk/ clojure" in clojure-
mode.el
6. idem contrib: replaced with "svn checkout
http://clojure-contrib.googlecode.com/svn/trunk/contrib" in clojure-
mode.el
7. M-x load-library clojure-mode
8. M-x clojure-install <ret><ret>
9. added (clojure-slime-config) to .emacs
10. M-x slime
Success! Thank you.
I think perhaps the best thing to do with the failing gits (for
whatever reason) is to just let the script skip the downloading of new
checkouts if an old checkout is present, and to let it give a message
like this: "Failed to checkout slime, please do so manually, install
in ~/src and rerun M-x clojure-install".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---