Fork me on GitHub
#cider
<
2018-09-10
>
bozhidar11:09:00

cider-jack-in just runs clj (or clojure to be precise), so I can’t imagine how the result would be different.

bozhidar11:09:24

You can see the exact command that’s being run when you’re waiting for jack-in to finish.

dpsutton11:09:30

It was needing an alias

dpsutton11:09:58

I think we got him squared away in beginners channel

bozhidar11:09:12

I’m puzzled. What kind of alias?

pvillegas1211:09:14

What was happening is that I defined an alias dev in my deps.edn, as cider-jack-in does not take those dependencies into account. What I have not been able to do is define is to use in .dir-locals.el instead of my init.el (setq cider-clojure-cli-global-options "-A:dev")

bozhidar11:09:08

Ah, got it. I’m glad to hear you sorted this out!

pvillegas1211:09:53

I tried doing (setq cider-clojure-cli-global-options "-A:dev") in .dir-locals.el but emacs does not pick it up :thinking_face:

pvillegas1212:09:34

Thanks @bozhidar ((nil . ((cider-clojure-cli-global-options . "-A:dev")))) is the right way 😄

bozhidar12:09:00

Indeed. 🙂

gdanov13:09:43

any hints how to easily reload dir-locals?

bozhidar13:09:48

Reopen a buffer?

gdanov13:09:22

the manual/wiki I found suggested more complex solutions, but guess that is worth testing

bozhidar14:09:44

@gdanov First time I hear there’s anything in the CIDER manual about reloading dir locals. Or maybe you’re referring to the Emacs manual?

gdanov15:09:42

referring to emacs

borkdude14:09:24

I’ve upgraded to the newest cider. when I quit my app, the REPL session in emacs is dead. But when I want to reconnect when I restart my app, it says there’s already a REPL and it wants to create a sibling REPL instead.

borkdude14:09:48

so now I’ve got two REPLs

borkdude14:09:38

even when I do cider-connect within the dead REPL it’s going to ask: create sibling REPL instead? type yes to proceed

borkdude14:09:47

so the question is: how do I revive a dead REPL when I restart a project?

bozhidar14:09:36

@borkdude I don’t think that’s possible currently. Seems you encountered some bug, so I’d suggest submitting this on our issue tracker.

borkdude17:09:28

Another issue: when I delete the killed repls and then run cider-connect it prints “Selecting deleted buffer” and there’s no REPL

borkdude17:09:39

Best thing to do now is… to close and reopen emacs when I have restarted my app.

gdanov15:09:11

there's ticket for that with workaround

gdanov15:09:09

or searc it in github

dpsutton17:09:45

If you remember to use the cider quit method I don't think you have this issue

dpsutton17:09:54

I think there's a ticket for it as well

borkdude17:09:32

previous cider just did the right thing… 🙂

dpsutton17:09:21

It solved quite a few structural problems at the price of a few rough edges yes

bozhidar18:09:00

@borkdude Trust me - right now CIDER does way more things right. 😉 The rough edges will be sorted out over the next couple of weeks most likely. We certainly appreciate all the feedback!

borkdude18:09:29

thanks thanks! I’ll post an issue about this one too, or is it known?

bozhidar18:09:19

The other issue you mentioned is known.