This works for me: (add-to-list 'load-path (expand-file-name "~/src/slime")) (require 'slime)
(add-to-list 'load-path (expand-file-name "~/src/clojure-mode")) (require 'clojure-auto) (add-to-list 'load-path (expand-file-name "~/src/swank-clojure")) (setq swank-clojure-jar-path (expand-file-name "~/clojure_20080916/ clojure.jar")) (setq swank-clojure-extra-classpaths (list (file-truename "~/share/ java/*"))) (setq swank-clojure-library-paths (list (file-truename "~/lib"))) (require 'swank-clojure-autoload) On Oct 31, 11:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm struggling to get slime and emacs to work together. I copied the > code from the readme included with swank-clojure, but am running into > an error. I'm sure it's something trivial that I'm missing. Here is > what I have in my .emacs copied from the various readme files. > > ;; clojure mode > (add-to-list 'load-path "~/.emacs.d/clojure-mode") > > (require 'clojure-auto) > ;; or if you use paredit, uncomment the following > ;; (require 'clojure-paredit) > > ;; swank clojure > (add-to-list 'load-path "/Users/clk/.emacs.d/swank-clojure") > > (require 'swank-clojure-autoload) > (swank-clojure-config > (setq swank-clojure-jar-path "/Users/clk/Documents/Development/ > Languages/lisp/clojure_20080916/clojure.jar") > (setq swank-clojure-extra-classpaths (list "/Users/clk/.emacs.d/ > clojure-extra"))) > > ;; Add sbcl back in > (add-to-list 'slime-lisp-implementations '(sbcl ("sbcl"))) > > That results in the following error: > > ad-Orig-error: Error: You must specify a swank-clojure-jar-path. > Please see README of swank-clojure. > > I copied the code above from the readme. And yes, the path to the > clojure.jar is correct. > > I'm using emacs 22 on OSX. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---