Fork me on GitHub
#cider
<
2017-04-03
>
qqq03:04:03

cider-error buffer seems to be hiding some of my stack freames with a "..."

qqq03:04:08

how do I tell cider to show me all stack frames?

benedek06:04:44

@cpmcdaniel @dpsutton bit late to the party but clj-refactor maintainer and the guy who implemented the injecting in cider here šŸ˜‰

benedek06:04:18

so injecting is implemented in cider but in a way that ā€œpluginsā€ can hook in to it as well and that is what clj-refactor does

benedek06:04:43

and also some other plugins as well afaik

benedek06:04:39

re. what nrepl-refactor does: it generates ASTs for your namespaces and supports those features with the AST that need such a thing

benedek06:04:43

have a look on the wiki https://github.com/clojure-emacs/clj-refactor.el/wiki these features needing the middleware are marked with *

benedek07:04:28

hope that is a bit a clarification although things are a bit of a mess atm as some of the refactor features got migrated over directly to clojure mode. for these you donā€™t need a middleware. see details here: https://github.com/clojure-emacs/clojure-mode#refactoring-support

dpsutton11:04:05

thanks for the info, benedek!

cpmcdaniel13:04:39

always cool to talk to the maintainer. Thanks for your contributions!

benedek14:04:55

hope it makes sense ;)

macrobartfast18:04:35

I'm not getting what seems like the right result using C-c C-v v for cider-eval-sexp-at-point for example, with my point on the 4 in (* 10 (+ 7 (- 4 6))) I get 4, not the expected -2 am I not understanding how this should work?

dpsutton18:04:01

4 is a sexp

dpsutton18:04:19

put it at the close parens for (- 4 6)

macrobartfast18:04:58

is there any way to have cider eval the code within the nearest enclosing parens when the point is on anything within those parens, not at the end of it?

macrobartfast18:04:01

relatedly, I'm getting 'Wrong type argument: integer-or-marker-p, nil' when putting the point on the closing paren of (- 4 6) or on the position after it and invoking cider-eval-sexp-at-point; what am I doing wrong?

macrobartfast18:04:50

C-c C-e works for (- 4 6) if I put the point on the position after that closing paren.

macrobartfast18:04:35

however, the title of that 'Add a command to evaluate the form around point', doesn't seem to be what the function does 'cider-eval-current-sexp' which you pointed out above is just to evaluate the 4 itself as a sexp.