I found that clojure-jack-in worked fine for me once I installed the latest clojure-mode from Marmalade. Don't use the one in the gnu repo. Be sure to use the package.el linked to on the marmalade-repo.org home page in order to access the repo.
On Dec 11, 2011 10:11 PM, "Richard "Tiger" Melville" < melvilleti...@gmail.com> wrote: > > Spent a day with the getting started instructions - everything failed: > clojure-jack-in, cdt, package.el, > you name it. > > This brute force method using M-x slime-connect is working for me: > > 1. eswank script > > #!/bin/sh > LISPDIR=/usr/local/lisp > CLASSPATH="$LISPDIR/swank-clojure-1.4.0.jar:$LISPDIR/clojure/ > clojure-1.3.0.jar" > NULL_DEVICE=/dev/null > JVM_OPTS=${JVM_OPTS:-$JAVA_OPTS} > MAIN="swank.swank" > VERSION="1.4.0" > java -cp "$CLASSPATH" $JVM_OPTS -Dproject.version=$VERSION \ > clojure.main -e "(use '$MAIN)(apply -main *command-line-args*)" / > dev/null "$@" > > 2. Run it > > bash-4.1$ eswank > user=> Connection opened on null port 4005. > nil > > 3. Setup .emacs > > ;; load git clone of slime https://github.com/technomancy/slime/ > (add-to-list 'load-path "/usr/local/lisp/clojure-emacs/slime") > (require 'slime) > > ;; disable autodoc-mode to avoid swank crash after typing two > characters > ;; https://github.com/technomancy/swank-clojure/issues/49 > (eval-after-load 'slime '(progn (setq slime-protocol-version 'ignore) > (setq slime-use-autodoc-mode nil) > (slime-setup '(slime-fancy)))) > (slime-setup '(slime-repl)) > > ;; Load git clone of clojure-mode > (add-to-list 'load-path "/usr/local/lisp/clojure-emacs/clojure-mode") > (require 'clojure-mode) > (require 'clojure-test-mode) > > 4. Use bleeding edge lein to create the project > > bash-4.1$ lein version > Leiningen 1.6.2 on Java 1.6.0_25 Java HotSpot(TM) Client VM > > 5. Edit project.clj and use slime-connect > > M-x slime-connect > ... > ; SLIME 2011-05-27 > user> (+ 3 4) > 7 > user> > > -- > 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 > Note that posts from new members are moderated - please be patient with your first post. > 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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