Smarter Form Targeting Is Coming to CIDER
CIDER 2.1 changes how evaluation commands decide what to evaluate, fixing the long-running confusion about C-x C-e picking the wrong form. Clojure tooling rather than Ruby.
If I had a dollar for every time someone asked on the Clojurians Slack in #cider why C-x C-e evaluated βthe wrong thingβ, Iβd probably be writing this post from a yacht. The answer was always the same: the cursor wasnβt where CIDER expected it to be. The upcoming CIDER 2.1 release changes that - the evaluation commands now figure out which form you mean from where your cursor actually is. A bit of history Emacs has a very particular tradition when it comes to evaluating code: eval-last-sexp (...
Read on metaredux.com →