Fork me on GitHub
#cider
<
2016-03-11
>
benedek08:03:26

It should not be

benedek08:03:50

Can u pls file a ticket with some reproduce steps on github

jonpither10:03:28

I'm curious. How does println get font locked in cider-repl-mode. I've pieces of the puzzle but can't follow the flow of how it happens

jonpither14:03:09

Or how does interleave, or any clojure.core fn

jonpither15:03:29

The session you have on nrepl middleware can be reset! at any point by interruptable-eval. That's not very good

otfrom18:03:40

Is anyone else getting

1. Unhandled java.lang.Exception Debugger not initialized
when doing M-x cider-quit and then M-x cider-jack-in ?
and then a minibuffer prompt for a lisp expression? seems to be consistently happening for me with cider 0.11.0

jonpither19:03:30

WRT my earlier question - I can see the font locking magic happens in (clojure-font-lock-setup) somewhere, but I can't follow it all the way, appreciate wisdom passed on from those that have journeyed thus

harold20:03:37

Hello, is it possible to get CIDER to automatically pprint repl results? (I have cider-pprint-fn set, is there more I should do?)

harold21:03:35

(btw, CIDER 0.11.0 is rad, I just upgraded from 0.9.x and the whole experience esp. w.r.t. documentation feels a lot more polished)

otfrom21:03:58

harold: M-x cider-repl-toggle-pretty-printing

harold21:03:53

That's what I'm talking about, thank you @otfrom friend.

harold21:03:10

(I didn't find it because I was doing ctrl-f pprint)

otfrom21:03:06

np. happy to help (now if only I could figure out what is wrong with mine)

harold21:03:57

Wish I could help, I don't use M-x cider-jack-in --- I always just do C-c M-j from my project.clj file.

otfrom21:03:59

that calls cider-jack-in 😉

otfrom22:03:14

cider-restart is giving me the same problem

harold22:03:55

Unfortunate. 😐 gl

malabarba22:03:12

@otfrom i can't even begin to imagine what could be causing that. 😟

malabarba22:03:48

Does it happen from a brand new lein project?

malabarba22:03:46

@jonpither I'm not sure what you're asking. When you println some code, it gets printed on the REPL without font-locking. It just gets a fixed color.

otfrom22:03:09

malabarba: I'll try that. lein clean didn't sort it out

otfrom22:03:26

I've still got a few more things I can strip out too

otfrom22:03:06

hmm... new project didn't sort it

malabarba22:03:05

Do you get any warnings when you start the REPL.

malabarba22:03:41

If not. Start Emacs with emacs -Q, then do package-initialize, and then try to reproduce your issue.

otfrom22:03:54

nope. no warnings

otfrom22:03:43

it is only a problem when I cider-quit and then jack in again (works the first time)

otfrom22:03:34

malabarba: OK. emacs -Q then package-initialize and then cider-restart works

otfrom22:03:40

so something in my config

otfrom22:03:54

now to figure out what that is, but that sounds like a task for tomorrow