<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m" -->

---
title: Smarter Form Targeting Is Not Coming to CIDER | daily.dev
description: CIDER's maintainer reversed a planned change to form-targeting rules after user feedback, most notably from co-maintainer Sashko Yakushev, revealed that...
canonical: https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Smarter Form Targeting Is Not Coming to CIDER | daily.dev
og:description: CIDER's maintainer reversed a planned change to form-targeting rules after user feedback, most notably from co-maintainer Sashko Yakushev, revealed that...
og:url: https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m
og:image: https://api.daily.dev/og/posts/YHPylWN0M.png
og:image:alt: Smarter Form Targeting Is Not Coming to CIDER
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Smarter Form Targeting Is Not Coming to CIDER

**[Meta Redux](https://daily.dev/sources/metaredux)** · 7 min read · 0 upvotes · 0 comments

## Summary

CIDER's maintainer reversed a planned change to form-targeting rules after user feedback, most notably from co-maintainer Sashko Yakushev, revealed that inspecting bare symbols at the closing paren would break for many users. Instead of redefining existing keybindings, CIDER 2.1 keeps the classic behaviour and adds opt-in "at point" command variants (like cider-inspect-sexp-at-point) so users can choose smart targeting without breaking existing muscle memory. The investigation also surfaced a long-standing bug where CIDER's sexp-reading logic misread words inside comments as symbols, corrupting comments during in-place macroexpansion; this has now been fixed, while SLIME, SLY, and Emacs Lisp itself still exhibit the same bug. The post also highlights SLY's evaluated-region flashing as a feature CIDER may adopt (cider-flash-evaluated-region), currently off by default.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://metaredux.com/posts/2026/08/29/smarter-form-targeting-is-not-coming-to-cider.html>

## Questions this post answers

### Why did CIDER decide not to change how it resolves which form gets evaluated at the cursor?

CIDER 2.1 keeps the classic 'form before the cursor' targeting behavior instead of switching to smarter resolution, because testing revealed that inspecting bare symbols with the cursor on a closing paren would give different, disruptive results under the new rules. Co-maintainer Sashko Yakushev and other users flagged this as significant enough that a fork was threatened, so the maintainer reverted the plan and instead added opt-in 'at point' command variants.

_daily.dev surfaces stories like this for developers weighing risky changes to tools they rely on daily._

### How do I get smarter cursor-based form targeting in CIDER without changing default keybindings?

Use the new 'at point' command variants such as cider-eval-sexp-at-point, cider-inspect-sexp-at-point, cider-pprint-eval-sexp-at-point, and cider-macroexpand-1-at-point, which fall back to the preceding form when there is nothing under the cursor. To make them the default, rebind C-x C-e and C-c C-e to cider-eval-sexp-at-point via cider-mode-map in your Emacs config.

_track workflow-changing configuration tips like this on daily.dev before rewiring your editor._

### Does CIDER correctly handle evaluating forms when the cursor is inside a comment?

Yes, as of the fix described, CIDER now steps out of comments before resolving a form, avoiding a long-standing bug where it treated words inside comments as symbols to evaluate or macroexpand, sometimes corrupting the comment text. Notably, SLIME, SLY, and Emacs Lisp's own elisp--preceding-sexp still exhibit this same bug and have not fixed it.

_developers debugging editor quirks like this compare tool behavior on daily.dev before filing a report._

## Similar posts on daily.dev

- [CIDER 2.0 is Brewing...](https://daily.dev/posts/cider-2-0-is-brewing--h8ufshiqg) · Meta Redux · 0 upvotes · 0 comments
- [Clojurists Together Update: May and June 2026](https://daily.dev/posts/clojurists-together-update-may-and-june-2026-ngmznmylq) · Meta Redux · 0 upvotes · 0 comments
- [Emacs salmagundi, 2026-08-13](https://daily.dev/posts/emacs-salmagundi-2026-08-13-zs2ghgjox) · Planet Haskell · 0 upvotes · 0 comments

---

Tags: [#clojure](https://daily.dev/tags/clojure), [#open-source](https://daily.dev/tags/open-source)

[View this post on daily.dev](https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Smarter Form Targeting Is Not Coming to CIDER","url":"https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m"},"datePublished":"2026-08-29T09:40:02.580Z","dateModified":"2026-10-14T02:27:42.389Z","description":"CIDER's maintainer reversed a planned change to form-targeting rules after user feedback, most notably from co-maintainer Sashko Yakushev, revealed that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dedf722536cd790a73f152e04476db6b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dedf722536cd790a73f152e04476db6b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Meta Redux","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Meta Redux","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/553e6ad4c072454a986660a28a241343","url":"https://daily.dev/sources/metaredux"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"clojure,open-source","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Meta Redux","item":"https://daily.dev/sources/metaredux"},{"@type":"ListItem","position":3,"name":"Smarter Form Targeting Is Not Coming to CIDER"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/smarter-form-targeting-is-not-coming-to-cider-yhpylwn0m#faq","mainEntity":[{"@type":"Question","name":"Why did CIDER decide not to change how it resolves which form gets evaluated at the cursor?","acceptedAnswer":{"@type":"Answer","text":"CIDER 2.1 keeps the classic 'form before the cursor' targeting behavior instead of switching to smarter resolution, because testing revealed that inspecting bare symbols with the cursor on a closing paren would give different, disruptive results under the new rules. Co-maintainer Sashko Yakushev and other users flagged this as significant enough that a fork was threatened, so the maintainer reverted the plan and instead added opt-in 'at point' command variants. daily.dev surfaces stories like this for developers weighing risky changes to tools they rely on daily."}},{"@type":"Question","name":"How do I get smarter cursor-based form targeting in CIDER without changing default keybindings?","acceptedAnswer":{"@type":"Answer","text":"Use the new 'at point' command variants such as cider-eval-sexp-at-point, cider-inspect-sexp-at-point, cider-pprint-eval-sexp-at-point, and cider-macroexpand-1-at-point, which fall back to the preceding form when there is nothing under the cursor. To make them the default, rebind C-x C-e and C-c C-e to cider-eval-sexp-at-point via cider-mode-map in your Emacs config. track workflow-changing configuration tips like this on daily.dev before rewiring your editor."}},{"@type":"Question","name":"Does CIDER correctly handle evaluating forms when the cursor is inside a comment?","acceptedAnswer":{"@type":"Answer","text":"Yes, as of the fix described, CIDER now steps out of comments before resolving a form, avoiding a long-standing bug where it treated words inside comments as symbols to evaluate or macroexpand, sometimes corrupting the comment text. Notably, SLIME, SLY, and Emacs Lisp's own elisp--preceding-sexp still exhibit this same bug and have not fixed it. developers debugging editor quirks like this compare tool behavior on daily.dev before filing a report."}}]}
```

