Fork me on GitHub
#cider
<
2018-06-18
>
arrdem02:06:45

oooooooo time to update 👌👌👌

arrdem02:06:02

hourly builds on desktop or are you even trying

manuel06:06:43

thanks for the hard work guys, upgrading now eager to try out the new session manager. 🙂

bozhidar08:06:30

Happy to hear this!

manuel08:06:55

I am working on a new CLJS-only project. In my project.clj I hit C-c M-J and select Figwheel among the options. If I hit C-c C-z from a CLJS file I can see the REPL as expected. But if I open dired and navigate to a CLJS file, hitting C-c C-z from the REPL brings me back to dired instead of the CLJS file I was visiting. Do you want me to open an issue on GitHub?

manuel08:06:37

also, there is no indication in the REPL buffer that this is a CLJS REPL. I mean, the buffer name shows clj even though I can interact with Figwheel from it.

manuel10:06:46

moreover, in the modeline the indicator always shows cider[not connected] even after C-c M-J.

bozhidar11:06:21

@manuel Please, file all of these as tickets and we’ll address them shortly.

borkdude11:06:58

I keep getting these kinds of traces in emacs when editing clojurescript code, after upgrading Emacs + prelude:

borkdude11:06:25

I’m on CIDER 0.17

borkdude11:06:23

I previously wasn’t using a cljs REPL but it seems now it expects one

borkdude11:06:42

Fixed. I had (setq debug-on-error t) which caused it.

dpsutton13:06:20

@borkdude you can file a ticket about this if you want. there are ways to suppress errors from the debugger i think if they are really just kinda logical ones

richiardiandrea16:06:59

reporting about the new changes, OOTB C-c M-J does the right thing for me, creating only one REPL asking for which CLJS one to start right after

richiardiandrea16:06:07

I would say, AWESOME !

richiardiandrea16:06:22

little behavior change is that cider-default-cljs-repl is not taken into consideration

bhauman18:06:39

@richiardiandrea @bozhidar haven't tried the new changes but wondering about futher parameterization when starting a CLJS REPL, I.E. so that folks can further specify a build

bozhidar18:06:48

@bhauman That’s really easy to do even now - we can just prompt users for the build. The thing that’s tricker is to be able to offer them some completion about the available builds - we should know where can we extract them from.

bhauman18:06:14

@bozhidar its fairly difficult to prompt for builds in project.clj

bhauman18:06:30

well it works for the simple case

bhauman18:06:43

but for merged builds etc its no dice

bhauman18:06:05

for figwheel.main it's easy as pie

bhauman19:06:41

I don't know if you pull data from the project.clj already but the best way is to define a deproject macro and then load the project.clj file

bozhidar19:06:07

We don’t process it (yet), but we can do it if necessary.

bozhidar19:06:20

> for figwheel.main it’s easy as pie

bozhidar19:06:25

Please, do tell! 🙂

bhauman19:06:48

all the builds are in the project root directory and they end with .cljs.edn

bhauman19:06:08

so the "dev" build is dev.cljs.edn

bozhidar20:06:19

Yeah, that’s quite convenient indeed.

richiardiandrea20:06:23

my idea when I had the cider-figwheel.el main namespace was to add a parser eventually there

richiardiandrea20:06:46

cannot commit time at the moment but we'll see

j0ni23:06:34

Since updating, I've started seeing flickering in clojure and cider buffers - it seems to be el-doc related; that is, it goes away when I deactivate el-doc in that buffer, and then seems to stay good for a while before starting again. I'm not blaming this on cider so far, because I've changed a bunch of other stuff including compositor, window manager, etc, over the weekend, and I build a new emacs every week from master. But I'd be interested if @bozhidar you can think of a mechanism for cider causing this, or if anyone else sees it.

j0ni23:06:53

welp, it isn't el-doc specifically at least, it just started up without el-doc switched on :shrug:

bozhidar05:06:38

What’s your OS & Emacs version? I haven’t seen anything like this myself.

j0ni13:06:31

OS is arch linux (rolling, current) and emacs built on Saturday from git master branch

j0ni13:06:49

I'm going to try stable emacs