Ah thanks awesome, yes that's true I only have to get used to the Cider.
The only thing is not also in Cider then would be "find-doc"?

And in general, what would be the best way to add some extra
customization to how the Cider repl works?

2015-04-05 9:46 GMT+01:00 Bozhidar Batsov <bozhi...@batsov.com>:
> Maybe reply interns `clojure.repl/doc` in every namespace. I can tell you
> for a fact that in CIDER the `clojure.repl` functions are interned only in
> the "user" namespace. We can always change this, but it doesn't make a lot
> of sense. CIDER users normally never use functions like "doc" as they have
> much more powerful options at their disposal (e.g. `C-c C-d d` (cider-doc)
> or the `C-c C-d g`).
>
> On 5 April 2015 at 11:41, andrea crotti <andrea.crott...@gmail.com> wrote:
>>
>> Hi guys, one question about the Repl and Cider.
>>
>> When I start the Repl with "lein repl", I am in the namespace "x.y",
>> and if I do "(doc swap!)" I see the documentation showing up.
>>
>> If instead I start the repl with Cider, it looks like I'm in the same
>> namespace, however "(doc swap!)" doesn't work, but if I do
>> "(clojure.repl/doc swap!)" actually works.
>>
>> So I wonder what's the difference, how does running "lein repl" differ
>> from using the cider repl?
>>
>> Is it possible to have the same behaviour in both?
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to