Fork me on GitHub
#cider
<
2015-09-03
>
jcsims04:09:37

@roberto: I tend to use M-. when I want to see the source of something

bozhidar05:09:28

yep, that’s the idea

bozhidar05:09:00

originally we had a command that would simply dump the source of some var in a dedicated temp buffer

bozhidar05:09:13

(similar to what clojure.repl/source does)

bozhidar05:09:51

but I decided this was pointless, as going to the actual source is way more useful

bozhidar05:09:41

as for @roberto’s issue - this should work fine

bozhidar05:09:01

there are no limitations regarding what you can do in cider’s repl

bozhidar05:09:33

his actual problem seems to be the use of require instead of use

bozhidar05:09:00

as he has to do clojure.repl/source to actually refer to the var from his current namespace

robert-stuttaford07:09:34

another annoyance, when i connect cider: cider-string-join: Wrong type argument: sequencep, #<buffer *cider-repl localhost:60408*> this happens when reusing a previous buffer

robert-stuttaford07:09:51

killing all the cider repl buffers and trying again fixes it

bozhidar09:09:32

seems somewhere we’re passing a buffer instead of string

bozhidar09:09:45

please, file a ticket for this and we’ll have it fixed

malabarba09:09:10

probably my fault, from my recent change for managing buffers directly instead of their names

malabarba09:09:42

Yep: (cider-string-join zombie-buffs ", ") :)

malabarba09:09:58

Should be fixed now.

socksy13:09:38

i’m getting this nrepl error:

user=> 2015-09-03 13:21:53,186 ERROR (clojure.tools.nrepl.server) - Unhandled REPL handler exception processing message {:op describe, :id 3}
java.lang.ClassCastException: clojure.lang.PersistentArrayMap cannot be cast to java.util.Map$Entry
previously, this has meant a mismatch in cider-nrepl and cider version, but at the moment they are both 0.10.0 SNAPSHOT, so I’m not sure what’s up?

jcsims15:09:32

bozhidar: ah yes, makes sense - source is unqualified in his snippet

roberto15:09:02

yeah, silly me

roberto15:09:09

thank you guys