Fork me on GitHub
#cider
<
2017-03-29
>
dominicm09:03:34

Is it possible to launch boot in a "one-off specify the tasks" way?

dominicm09:03:18

On a training course it's easier to say "Use m-x cider-launch-boot then type 'dev'" than: Go customize vars, tweak this var, then change it back later.

richiardiandrea15:03:33

@dominicm if I understand correctly you can use .dir-locals.el for changing the jack in command

dominicm15:03:46

@richiardiandrea Do you use one of those Lambda-X? 😄

dominicm15:03:07

(or your boot thing)

richiardiandrea15:03:59

Well, I left lambdax long time ago but yes the boot workflow has not changed, I do not commit it to vcs though

dominicm15:03:34

Oh okay. I'm not an emacs/CIDER user, so I have no idea what the .dir-locals.el looks like, so I'm trying to cheat here 😉

richiardiandrea15:03:54

Ah ah yes that is still working, ju;St maybe the deps need bumping 😀

dominicm15:03:32

We used edge for training yesterday. Biggest barrier was the fact cider launches repl -s wait by default

richiardiandrea15:03:54

Oh ok yeah I remember you were a vim user 😀 the enemy of some sort lol

richiardiandrea15:03:31

Yes so lemme get to work and I will post an example

dominicm15:03:44

Thanks, there's no rush. So don't put yourself out.

dominicm15:03:49

But it would be a HUGE help to me!

dominicm16:03:47

I might try my hand at emacs soon, but I don't see myself actually switching long term, just learning enough to support others.

richiardiandrea16:03:56

Ok then I will get a Coffee first 😀

richiardiandrea16:03:01

I 'd suggest also looking at inf-clojure

richiardiandrea18:03:37

@dominicm this what I do in my .dir-locals.el

((nil . ((cider-boot-parameters . "dev")
         (eval . (add-hook 'clojure-mode-hook #'cider-mode)))))

richiardiandrea18:03:03

but you don't need the second line

dominicm18:03:48

@richiardiandrea that's brilliant, thank you!