bOR_ <boris.sch...@gmail.com> writes:

> Had to use a different .emacs. Just autoload and add-to-list didn't
> seem to load clojure-mode.el.

That's correct; this will not load the code. It just sets it up so that
the file gets loaded on-demand when you open a clojure file. I will add
a note mentioning that the first time you want to run the installer you
should manually load clojure-mode.el yourself since the autoload won't
help you. This is unclear in the current instructions; sorry.

> Took a moment to figure out that I had to set clojure-src-root as
> well, as that isn't mentioned at the top of the clojure-mode.el
> file. I've no clue why autoload won't work.

That's not actually right; you don't need to set clojure-src-root to use
clojure-mode. You only need it to use SLIME if you install somewhere
other than ~/src. It will give you instructions about this when the
installation completes, but it looks like you had network connectivity
issues keeping this from working.

> (push "/home/boris/.emacs.d" load-path)

This is actually already on the load-path by default; no need to add it.

> (load-library "clojure-mode")

You only need to do this when you're running the installer, so it's
probably not worth running every single time you launch Emacs.

> The kevinoneill clojure-contrib failed for me (might be my
> connection), so I replaced both kevinoneills with the svn checkouts
> from googlecode. In retrospect it might have been because I didn't
> replace git:// with http:// that is neccesary for me to git past a
> proxy. The slime git worked fine, but took ages.. I replaced it with
> git clone http://git.boinkor.net/git/slime.git

Ugh... I didn't think about nasty firewalls blocking the git port. I
don't want to switch it to http by default, but maybe it could provide a
fallback mechanism?

> Furthermore, it might be nice to have an 'overwrite? ignore? keep?
> option when clojure-install encounters relevant directories in the
> clojure-src-root already. With all the failed gits, I've been
> downloading clojure and clojure-contrib 5 times before all was
> downloaded.

Maybe. I was trying to keep it simple, but if this turns out to be a
common problem I could add it.

> The whole thing compiled without any trouble, and after a M-x slime
> told me it  "Cannot open load file: slime-repl". I am guessing it is
> because I use a different slime git.

Your slime checkout should have a contrib directory containing
slime-repl.el. If this doesn't exist, then it's a problem with the
checkout. If it does, it's a problem with the way the load-path is set
up.

-Phil

--~--~---------~--~----~------------~-------~--~----~
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
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