I have just tried my setup on both OSX and Ubuntu .. (with Paul's modifications) .. and there is something seriously wrong with my way of using clojure-mode to bootstrap the whole installation.
I am looking at the same error-messages as described in my original post, on additional two different systems. Well, back to the drawing board for me. There is still something obvious that I am missing, to get origin/ master working, but at least I am missing it consistently on three operating systems, yay me! :-) /klang On May 21, 12:06 pm, Alen Ribic <alen.ri...@gmail.com> wrote: > Thanks this also worked for me on my Aquamacs Clojure slime setup. I > added your code to the customization.el file in ~/Library/ > Preferences/... > > -Alen > > On May 18, 7:14 pm, Paul Stadig <p...@stadig.name> wrote: > > > I just happened to be setting up emacs an a new Ubuntu install today. I > > think it might have something to do with 'add-classpath. The > > swank-clojure-init function is trying to add the swank-clojure directory to > > the classpath, but the 'require still fails when starting up the clojure > > REPL. > > > I added the following to my .emacs to get it to work: > > > (setq swank-clojure-extra-classpaths > > (cons "~/src/swank-clojure" > > (when (file-directory-p "~/.clojure") > > (directory-files "~/.clojure" t ".jar$")))) > > > Paul > > > On Mon, May 18, 2009 at 1:02 PM, Phil Hagelberg <p...@hagelb.org> wrote: > > > > klang <karstenl...@gmail.com> writes: > > > > > First things first: > > > > > swank doesn't load and slime can't connect to the *inferior-lisp* > > > > running clojure > > > > > I am missing something obvious, please advice. > > > > It's not your fault; it looks like the latest Clojure 1.1 snapshot is > > > not compatible with swank-clojure. I haven't been following it closely, > > > but somewhere between 1.0 and the present it's broken. It looks like > > > swank-clojure will need to be updated to work with the latest. > > > > In the meantime, cd to your checkout of clojure and perform: > > > > $ git checkout origin/1.0 > > > $ ant > > > > Then launch a new Emacs instance and M-x slime should work. This did the > > > trick for me at least. I'll update clojure-mode to work with 1.0 by > > > default so you don't need to do anything by hand. > > > > -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 -~----------~----~----~----~------~----~------~--~---