Fork me on GitHub
#cider
<
2018-09-05
>
Timo Freiberg07:09:51

i just found out that i had delete-by-moving-to-trash enabled! the invalid cider-repl-history file is still there so i'll create a github issue for the problem from yesterday 🙂

bozhidar08:09:39

@hlolli Looks like some sesman bug. File this on the CIDER issue tracker.

👍 4
kah0ona12:09:30

Hi folks, in one project, when i do cider-jack-in-clj&cljs, my cljs repl buffer will have type [clj] rather than [cljs]

kah0ona12:09:50

this means when I eval something, cljs repl tries to evaluate clj code

kah0ona12:09:02

can i somehow (manually even) change that type of that repl buffer?

kah0ona12:09:23

weird thing is, it works in other projects as far as i can see atm

bozhidar17:09:16

@kah0ona can you share here your deps? At least the ones relevant to ClojureScript?

kah0ona07:09:51

I see some deps are a bit old, reagent for example. would it make sense to upgrade these?

richiardiandrea17:09:24

so if I kill a buffer by accident, is there a way to tell sesman to create a new one? I keep getting SElecting killed buffer on every new cider-connect-cljs

👍 8
bozhidar17:09:25

Yeah, seems like a bug we overlooked. Will fix it soon. I think 2-3 people reported this already.

👍 8
richiardiandrea18:09:03

ok cool thank you

dottedmag19:09:03

Has anyone seen the following error: error in process filter: queue-enqueue: Wrong type argument: queue, #s(queue nil nil)?

dottedmag19:09:44

It comes from nrepl-client.el and it seems to be somehow related to order of loading code, because when I evaluate nrepl-client.el contents manually it goes away.

dpsutton19:09:20

did you update emacs recently?

dpsutton19:09:36

i've seen something like this when bytecode representation of elisp records changes across emacs versions

dpsutton19:09:51

hopefully a simple solution is to delete elc files and let it re-byte-compile

dottedmag20:09:03

Yep, now it works.

dottedmag20:09:29

I have also compiled a fresh Emacs just in case it was a bug in master I caught.

dottedmag20:09:03

@bozhidar "basic architecture" image urgently needs a correction (attached).

dottedmag20:09:34

Improved "basic architecture"

bozhidar20:09:01

@dottedmag You made my day! PR welcome!

bozhidar20:09:34

I can’t even remember what tool I used to draw this basic chart a while ago, but I’d love to have this version in the manual. 😄

dottedmag20:09:58

@bozhidar Manual still talks about cider-toggle-connection-buffer though it has been removed.

bozhidar20:09:41

Unfortunately I didn’t have time to review it completely before the releases. I’m certainly that’s not the only outdated info there. PRs welcome!

dottedmag20:09:14

I'll file a ticket for now, as I have no clue what to write instead of the obsolete text (if I knew I wouldn't be reading it in first place :)

kommen20:09:16

I’m trying to turn of the checks cider dependency checks, specifically this one: https://github.com/clojure-emacs/cider/blob/7f1c5e2ea9b5271c9c7fd43b44b6f4a1a1262183/cider.el#L650-L653

kommen20:09:20

I would have guessed cider-check-cljs-repl-requirements is the flag to set, but it seems to be not used. Am I overlooking something?

dpsutton21:09:00

@kommen it looks like there is a bug and it is not possible right now. This can be suppressed with the optional no-error passed to cider--check-cljs but this parameter is not passed from cider--update-cljs-init-function

dpsutton21:09:05

if you are doing cider-jack-in-clj&cljs you can do it by passing a second argument no-error. I'm not sure how to do that interactively. Not sure how interactive functions work with two optional parameters

kommen21:09:25

filed an issue

dpsutton21:09:10

these params are inputs to the functions but i don't see how to really do it. I suppose there should be a defcustom cider-initial-param to nil that you can override so you can set the initial p-list

dpsutton21:09:23

override in dir-locals that is