Fork me on GitHub
#nrepl
<
2022-02-20
>
Daniel Slutsky13:02:19

Hi @bozhidar@pez. Just noticed a little gap between CIDER and Calva. If we have the following code:

^:abcd [1]
(that is, a vector with a number in it, with some metadata before it), and we put the cursor after this piece of code, then cider-eval-last-sexp would pass the code ^:abcd [1] to nREPL, while Calva: Evaluate Current Form would pass only [1]. I'm wondering what might be better (I tend to prefer the CIDER behaviour here, since we sometimes use metadata in interactive visualization tools).

pez13:02:47

I think metadata should be considered as part of the form and evaluated together. Please file an issue on Calva about this.

👍 2
🙏 1
pez18:03:05

This was quite tricky to fix! In the end it is mostly some long overdue clean-ups of rats nests in the code, so I am quite happy I put in the work. 😃 https://clojurians.slack.com/archives/CBE668G4R/p1646157715170719

❤️ 1
pez18:03:05

This was quite tricky to fix! In the end it is mostly some long overdue clean-ups of rats nests in the code, so I am quite happy I put in the work. 😃 https://clojurians.slack.com/archives/CBE668G4R/p1646157715170719

❤️ 1