Clojurians
#cider
<
2016-03-05
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

base69800:03:42

@nullptr using 0.11 I got the same behavior. 1) unable to use locals in cider-debug and quit responding randomly. 0.11-snapshot from january seems to work fine

base69800:03:28

Though I can't hate I lost an hour of productivity given I finished the app I was working on in 4 days. Took me 2 weeks to get the first version in python off the ground.

nullptr00:03:58

nice! how much of the improvement is clojure and how much is just having done it before? :)

base69800:03:27

I'm not selling the broader organization on that 😉

malabarba00:03:45

@arrdem for now, you just can't. It's something I want to (and probably will) fix, but it's going to take many months still.

malabarba00:03:09

@anmonteiro yes, clojure mode is the package responsible for most of the syntax highlighting. Although CIDER does some additional dynamic highlighting.

malabarba00:03:22

@anmonteiro that said, @bozhidar and I are very active on both repos, so you can't go too wrong no matter which one you chose to file the issue.

malabarba00:03:50

@base698 regarding the "watch expression": the lastest snapshots (0.12.0) do support that actually. I just merged the PR a couple of days ago.

base69800:03:32

@malabarba: I was having trouble today getting 0.12 to work. It kept freezing. Also, generally just an awesome project I donated earlier in the week simple_smile

base69800:03:45

actually i was having trouble getting 0.11 to work

malabarba00:03:59

Regarding the freezes :

malabarba00:03:25

Do M-x toggle-debug-on-quit.

malabarba00:03:12

Next time you get a freeze, hit C-g (might need to hit it a couple of times)

malabarba00:03:21

This will give you a backtrace

malabarba00:03:50

You can file an issue and show us that backtrace

malabarba00:03:02

Also, when exactly do the freezes happen? Is it consistent or random?

base69800:03:49

I set #dbg and run with C-x C-e. On the first time it seems to work normal and I hit the L key to do the locals.

base69800:03:54

it seems to "die"

base69800:03:09

then when hitting C-x C-e again it does nothing

malabarba00:03:53

Is it possible one of the locals was super large? (although even that shouldn't cause freezes)

base69800:03:15

Yeah it is super large. but 0.10 works fine

base69800:03:19

it just shows lazy seq

malabarba00:03:37

Sounds like we have a regression then

base69800:03:42

is it trying to inflate the whole thing?

malabarba00:03:04

It shouldn't. But it sounds like it is

malabarba00:03:22

@base698 ok. I can reproduce it here. I'll look into over the weekend. FTR, you can fix the freeze by typing C-c C-b.

base69801:03:33

@malabarba: You are definitely the man, thanks for the help

jan.zy19:03:37

I upgraded to cider 0.11, it works very well for me. So far I didn’t stumble upon any bug.

jan.zy19:03:22

and I really appreciate that I don’t have to manually specify versions of tools.nrepl and cider.nrepl in y profiles.cljs

jan.zy19:03:33

I have one question though

jan.zy19:03:31

How can I get rid of all texts and highlighting inserted by cider-enlighten-mode?

jan.zy19:03:36

which is awesome btw simple_smile