Hi I tried your code but still no luck with errors. This is what I get
from the*slime events* buffer:
(:emacs-rex
(swank:compile-file-for-emacs "/home/vseguip/uoc/IA2/practica/
main.clj" t 'nil)
"practica-main" t 5)
(:indentation-update
(("rec-seq" . 1)))
(:return
(:ok
(:compilation-result
((:message "java.lang.Exception: Unable to resolve symbol: eee in
this context (main.clj:89)" :severity :error :location
(:error "No error location available")
:references nil :short-message "java.lang.Exception:
Unable to resolve symbol: eee in this context (main.clj:89)")
(:message "java.lang.Exception: Unable to resolve symbol: eee in
this context" :severity :error :location
(:error "No error location available")
:references nil :short-message "java.lang.Exception:
Unable to resolve symbol: eee in this context"))
nil 0.645959542))
5)
Maybe the format of the swank reply is not what Slime is expecting?
(although the "status bar" does point that I have errors in the
compilation)
Cheers,
V. Segui
On 26 mar, 09:01, Tassilo Horn <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---