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