vseguip <[email protected]> writes:
Hi!
> Just responding to myself, the issue seems to have been fixed by
> itself. OTOH compiler errors don't popup like before. I can see them
> in the *SLIME Compilation* buffer but clicking on them doesn't lead to
> the source code. The faulty lines are also not highlighted in anyway
> way now. Is this correct behaviour or is my Slime installation borked
> beyond recovery?
No, at least it works nicely for me. But what I've found out is that
when using the SLIME REPL you need to have loaded clojure-mode. Else,
the indentation at the REPL doesn't work and maybe other things are
broken, too. So now I use this setup:
--8<---------------cut here---------------start------------->8---
;;***** Clojure Mode
(add-to-list 'load-path "~/repos/el/clojure-mode")
(autoload 'clojure-mode "clojure-mode" "A major mode for Clojure" t)
(add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode))
(defun th-clojure-mode-init ()
(paredit-mode 1))
(add-hook 'clojure-mode-hook 'th-clojure-mode-init)
;;***** Clojure Swank
(add-to-list 'load-path "~/repos/el/swank-clojure")
(setq swank-clojure-jar-path "~/repos/clj/clojure/clojure.jar")
(eval-after-load 'swank-clojure
'(progn
(require 'clojure-mode) ;; <== This seems to be important!!!
(add-to-list 'swank-clojure-extra-classpaths
"~/repos/clj/programming-clojure/")
(add-to-list 'swank-clojure-init-files
(expand-file-name "~/.clojure/user.clj"))))
(require 'swank-clojure-autoload)
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---