Fork me on GitHub
#cider
<
2015-09-22
>
redbeardymcgee02:09:20

nrepl confuses me as a newbie

redbeardymcgee02:09:29

or clojure does

redbeardymcgee02:09:22

i evaluated a form with C-c M-e, and cider changed my ns, so now i've got a repl with no clojure.core

redbeardymcgee02:09:44

i gotta find a proper repl flow someday

malabarba10:09:05

redbeardymcgee: Actually, I think that's a bug. @bozhidar What do you think? Reading the docstring it looks like this command is not supposed to do that, but it does.

malabarba10:09:49

redbeardymcgee: That said, I'd recommend just using C-x C-e for evaluation. If you want all results to show up on the REPL I think there's an option for that.

bozhidar16:09:30

@malabarba: just a sec

bozhidar16:09:34

I’ll check it out now

bozhidar16:09:13

this definitely sounds like a bug

bozhidar16:09:32

this command is supposed to insert the result of the evaluation in the REPL

bozhidar16:09:37

and shouldn’t mess with anything

bozhidar16:09:53

it’s useful when the result of some form

bozhidar16:09:10

is something you’d like to use in the REPL

bozhidar16:09:52

not sure how many people are using it

bozhidar16:09:58

perhaps it’s a bit too much

bozhidar16:09:06

lately I’ve been in a more minimalistic mode

bozhidar16:09:17

and would rather remove obscure functionality

bozhidar16:09:34

than keep in around and have to deal with reports like this one simple_smile

malabarba16:09:57

Same here, @bozhidar

roberto16:09:25

is there a way to have clojure.tools.logging output to cider?

malabarba16:09:11

Where does it currently output to?

roberto16:09:52

standard out

roberto16:09:00

but only when I run lein

roberto16:09:11

when I’m doing interactive dev in cider, it doesn’t output to cider.

nooga17:09:45

@malabarba: good point… now that I think about it… I mostly use ido and then sometimes ibuffer, usually for mass killings

bozhidar18:09:18

@roberto: we have a solution for this in the works

bozhidar18:09:33

right now the output goes to the nrepl-server buffer

roberto18:09:08

awesome, thank you

michal23:09:02

hey, I’m curious why every time I connect to repl (boot based) I’m asked “do you want to associate new connection with local project?”. What this “association” really means? And is there any way to make it automagically happen without being asked again?

pandeiro23:09:19

when i enable the following code -- http://sprunge.us/BMba -- i get the message "File mode specification error: (void-variable defun)" and clojure-mode doesn't do syntax highlighting. Does anyone know what could be causing that?

pandeiro23:09:45

and i also have the same question as @michal