Fork me on GitHub
#cider
<
2015-06-15
>
bozhidar09:06:13

@bentanweihao: cider-refresh does what’s outlined here http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded

bozhidar09:06:36

it’s basically a wrapper around tools.namespace

jcsims15:06:29

@bozhidar: I shouldn’t have to explicitly call cider-mode in the clojure-mode-hook, right? For some reason in the last couple of weeks, I’ve had to do that explicitly

bozhidar15:06:45

you shouldn't

jcsims15:06:00

I have a feeling that something else is afoot, though, because occasionally my other hooks (paredit and rainbow delimiters) also don’t get called

bozhidar15:06:19

cider inserts a hook for clojure-mode automatically the first time you use it to connect

jcsims15:06:26

but that’s buffer-local?

jcsims15:06:29

this used to Just Work, and I’m sure it still does. I’ll need to spend some time paring down my config to see if something else is causing the new regression

bozhidar15:06:36

nope, the hook is global

jcsims15:06:37

(I’m still using 0.8.2)

jcsims15:06:48

ok, that’s I figured

bozhidar15:06:50

btw, in 0.9 this auto-magical behaviour can be disabled

bozhidar15:06:06

and people can just enable cider-mode themselves

bozhidar15:06:22

not that it’s related to your problem, but it might be of general interest

jcsims15:06:36

no, I’d rather have it in every clojure buffer, but good to know

jcsims15:06:26

@bozhidar: thanks for the quick help. Looking forward to 0.9 stable release

bozhidar16:06:48

should arrive any day now simple_smile