Phil, > I suspect the problem might have to do with the fact that you're > configuring slime for both SBCL and Clojure. I know it's possible to > get this working, but it's a lot more complicated that way. I'd > suggest having one file for clojure slime config and one for sbcl, and > only load one of them per Emacs instance. > > I'm sure someone who's more familiar with SLIME and Common Lisp could > figure out a solution, but this seems like simplest solution.
My eyes lit up for a second! I removed all SBCL support from SLIME and it still doesn't work :( Can you kindly share your working dotfiles and enlighten me? My current .emacs has this: ;;; (require 'slime) (slime-setup '(slime-fancy slime-banner slime-mdot-fu)) (defvar slime-net-coding-system (find-if 'slime-find-coding-system '(utf-8-unix iso-latin-1-unix iso-8859-1-unix binary))) ;;; Clojure specific (defvar clj-root (concat (expand-file-name "~") "/clojure/")) (setq load-path (append (list (concat clj-root "clojure-mode") (concat clj-root "swank-clojure")) load-path)) (setq swank-clojure-binary "clojure") (require 'swank-clojure-autoload) (add-to-list 'slime-lisp-implementations '(clojure ("/home/ghoseb/bin/clojure") :init swank-clojure-init)) (require 'clojure-mode) (eval-after-load 'clojure-mode '(clojure-slime-config)) (autoload 'clojure-mode "clojure-mode" "A major mode for Clojure" t) (add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode)) (defun lisp-enable-paredit-hook () (paredit-mode 1)) (add-hook 'clojure-mode-hook 'lisp-enable-paredit-hook) (defun clj () "Starts Clojure in Slime" (interactive) (slime 'clojure)) ;;; Regards, BG -- Baishampayan Ghose <b.gh...@ocricket.com> oCricket.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---