Fork me on GitHub
#cider
<
2018-09-07
>
vigilancetech00:09:56

@richiardiandrea ok, I'll go watch that. Thanks

bozhidar06:09:08

Btw, nothing has really changed between 0.16 and 0.18 with respect to how binaries are resolved by CIDER - we just look on Emacs’s exec-path and run whatever happens to be there. CIDER doesn’t check any Java env variables.

👍 4
mikerod14:09:33

Thanks for the added context. I still haven’t gotten to the bottom of my issue, but knowing this info is useful.

bozhidar06:09:54

That’s a nice small package that copies the shell $PATH to Emacs for consistency.

manuel09:09:55

@martinklepsch done. It's just a guess, but worth a try 🙂

parrot 4
benedek09:09:07

@martinklepsch this is indeed cljr, but instead of turning the whole package off you can turn the feature off with (setq cljr-magic-requires nil)

martinklepsch09:09:24

@benedek If you have an account on http://clojureverse.org feel free to post that there, I'm not the author of the post... just noticed it was unanswered for two days and probably easy to answer by the right people 🙂

benedek09:09:48

not sure i have one

martinklepsch09:09:48

(if you don't have an account I can post it of course)

benedek09:09:16

for more info :)

martinklepsch09:09:51

Done 🙂 I wonder if this should be disabled for user/ by default btw. Common single segment namespace etc...

benedek09:09:47

not a bad idea. although as far as i remember cljr looks at what aliases you use in your project

benedek09:09:34

so if you have some proper ns aliased as user that should be autoinjected here instead of plain user

martinklepsch09:09:14

Yeah, just throwing it out here, I have no clue how cljr works 😛

cjohansen12:09:37

has anyone successfully run figwheel-main in CIDER? I’m looking for instructions for how to do it

cjohansen12:09:00

When I jack-in-cljs with this I kinda get a REPL, but I can only interact with it via a stdin: prompt in my minibuffer

dpsutton13:09:57

re: JAVA_HOME and environmental variables. I was thinking CIDER doesn't make use of these of course. But if these values differ from the environment of a shell it could lead to a different jvm invoked by lein in the emacs environment versus the shell environment. The observed behavior was java 8 in the shell and java 9 in CIDER

4
dpsutton13:09:59

@christian767 i am able to get CIDER working with figwheel-main with https://github.com/pesterhazy/cljs-spa-example

adamfrey13:09:54

I just created a github issue for behavior I saw where cider error handling is broken for the new clojure 1.10.0-alpha7: https://github.com/clojure-emacs/cider/issues/2443

cjohansen13:09:54

@dpsutton cool, thanks, will check it out

dpsutton13:09:28

there is a build script that you need to run before hand. i think in /scripts so check that out. but after that it should boot up just fine

richiardiandrea16:09:12

does cider assume that spec keywords are always prepended by a namespace in its helpers? I am not sure but it feels like it

richiardiandrea16:09:24

especially the browse functionality