Fork me on GitHub
#cider
<
2017-01-25
>
ag00:01:27

hmm guys, recently reader conditionals not getting font-locked properly. in stuff like this:

#[email protected](:clj
       [[clojure.future :refer :all]
       :cljs
       [[cljsjs.moment]])))
everything in :cljs block is grayed out.

arthur01:01:25

starting with the last time i updated cider all log4j expressions that would go the stdout are going to the REPL buffer

arthur01:01:02

does this sound familiar to anyone, and can I turn it off somewhere?

dpsutton04:01:00

@ag this is a new behavior

dpsutton04:01:22

its font locking the type that you are using

dpsutton04:01:25

and not the other

dpsutton04:01:38

so if you were in cljs mode, the clj part would be commented out

dpsutton04:01:46

@arthur there has been a lot about this

dpsutton04:01:50

but you are writing to stdout

dpsutton04:01:56

and that has been fixed to go to the repl

dpsutton04:01:03

can you change the sensitivity of your logging?

ag06:01:10

@dpsutton > this is a new behavior are we still talking about clojurec-mode?

ag06:01:53

I mean I guess this is helpful, so how do I “switch” that to cljs? so clj portion gets grayed out?

ag06:01:45

just change mode to Clojurescript?

dpsutton11:01:17

Yeah I think that's the best way

dpsutton11:01:58

I'm rewriting how it knows what connection you want so it should get better soon

ccann17:01:36

has anyone has issues where cider-refresh seems broken? (on 0.14)

ccann17:01:31

I can jack in just fine and then C-c C-k my namespace on changes and all is well until I C-c C-x to refresh the project and all of a sudden I have to navigate to each namespace in the project and load it

ccann17:01:12

hmm it seems to be specific to this project

ccann18:01:14

it was a lein-ring issue

richiardiandrea18:01:32

what was the function to show nrepl msgs again 😄

bja21:01:15

hmm, it seems clojure-match-next-def doesn't support top-level forms without an argument (i.e. a macro that imports or defines things such as (def-shortcuts)) forward-sexp blows up at line 668 of clojure-mode.el Seems that returning nil ala

(condition-case nil
                  (forward-sexp)
                (error nil))
will resolve the issue.