On Feb 24, 12:17 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> Michel Salim <michel.syl...@gmail.com> writes:
> > That would be really neat! I'm having a bit of trouble setting it up,
> > though:
> > - When loading a .clj file in Emacs, it automatically triggers Slime
>
> This should happen only ontestfiles, not every clojure file.
Ah, right. It just happened that the first few files I tested have
some tests defined.

>
> > - However, the file is not actually loaded; I had to C-c C-l
>
> Right; it doesn't load until you call clojure-test-run-tests, which is
> bound to C-c C-,.
>
> > - C-c C-' is not bound; if I (run-tests 'clojure-mode.test-is), the
> > tests run but nothing appears in the editor window
>
> Does "Test" show up in the modeline in yourtestbuffers? If so then themodeis 
> activated correctly. I'm still working through some bugs that
> surface unpredictably due to the asynchronous nature of SLIME, so if you
> don't see anything be sure to try C-c C-, a number of times.
>
That does the trick, yes. Sometimes none of the failing tests are
highlighted, sometimes some of them, and sometimes all. I misread the
explanation and assumed C-c ' is the command that does the
highlighting (rather than just showing the test error in the
minibuffer).

Thanks,

--
Michel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to