Phil, > It works for me. Are you trying to look up a built-in clojure function > or one from your own application? How did you install SLIME and > swank-clojure etc?
It doesn't work for either. When I try looking up a clojure-contrib function, I get let*: Search failed: " clojure/contrib/str_utils.clj$" In case of a function that I wrote somewhere in a file and loaded in SLIME, I get an exception - java.lang.StringIndexOutOfBoundsException: String index out of range: -1 (NO_SOURCE_FILE:0) (in *Messages* I get funcall: Synchronous Lisp Evaluation aborted) > If you installed by hand, you could try using M-x clojure-install from > a recent copy of clojure-mode.el. This should download and configure > all the necessary things to hook up Emacs and Clojure via SLIME. I have installed it by hand and I have installed swank-clojure as well as clojure-mode. Everything else works just fine, except this. I tried re-installing Clojure using M-x clojure-install and I get the same result with that too. > If it's still not working, try pasting the contents of your *Messages* > buffer to the list. In case of my own function: funcall: Synchronous Lisp Evaluation aborted In case of clojure-contrib.str-utils.str-join: let*: Search failed: " clojure/contrib/str_utils.clj$" Any help will be highly appreciated. PS - Relevant sections from my ~/.emacs ;;; (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 '(sbcl ("/usr/bin/sbcl")) '(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 sbcl () "Starts sbcl in Slime" (interactive) (slime 'sbcl)) (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 -~----------~----~----~----~------~----~------~--~---