Fork me on GitHub
#cider
<
2019-11-18
>
achikin10:11:55

There is a feature in Cursive that allows to treat some macros as definitions e.g. `clojure.spec.alpha/def` or `re-frame.core/reg-event` which allows to use jump to definition. Is there such feature in cider?

kah0ona19:11:58

what is exactly defined as a ‘region’ in `cider-eval-region`?

dpsutton19:11:15

Region is an emacs thing meaning the characters between the point (cursor) and the mark. Most probably you’ll see this as highlighted text in emacs. But this isn’t the default because emacs is strange sometimes

pez20:11:57

From today’s http://PurelyFunctional.tv newsletter: > Most editors have a setting so you can evaluate expressions inside the comment just like top-level expressions. I think he means CIDER. Why is this a setting? Who would want it to work any other way?

4
kah0ona20:11:34

ah ok it’s an emacs thing. I come from Vim, now using spacemacs, and often i’m confused with stuff like: is this a CIDER thing or an Emacs thing 🙂

dpsutton20:11:06

yeah its basically "visual mode" i guess. whatever is highlighted

kah0ona20:11:59

ah this is pretty handy lol.

kah0ona20:11:27

eval’ing a few top level statements inside a (comment ) block springs to mind…