Skip to content

2.0 polish: theme-aware gensym faces, checkdoc zero, friendlier defaults, refcard update#4068

Merged
bbatsov merged 5 commits into
masterfrom
cider2-polish
Jul 3, 2026
Merged

2.0 polish: theme-aware gensym faces, checkdoc zero, friendlier defaults, refcard update#4068
bbatsov merged 5 commits into
masterfrom
cider2-polish

Conversation

@bbatsov

@bbatsov bbatsov commented Jul 3, 2026

Copy link
Copy Markdown
Member

Another small pre-2.0 batch, one commit per item:

  • cider-macrostep-gensym-faces: the gensym palette is now theme-aware faces instead of hardcoded hex colors (the option was unreleased, so renamed outright).
  • checkdoc is at zero: six genuine docstring fixes plus disabling the experimental third-person-verb check in the Eldev config (it misfires on nouns like "tests" and "highlights").
  • cider-repl-history-size 500 -> 5000. (A cider-print-buffer-size bump was considered but benchmarking against a live nREPL showed no measurable difference between 4K and 16K on multi-MB results, and a regression at 64K, so the 4K default stays.)
  • Truncate huge eval results before the overlay face bookkeeping walks them, and give reload-clear a 60s timeout since it serializes behind in-flight refreshes (refresh ops shouldn't have a timeout #3652).
  • Refcard regenerated: C-c M-m a move, inline macrostep, source-based find-references, who-calls/who-implements, cider-ns-reload.

bbatsov added 2 commits July 3, 2026 14:59
cider-macrostep-gensym-colors hardcoded seven hex colors (the last
hardcoded color list in the codebase); replace it with
cider-macrostep-gensym-faces, a palette inheriting from standard
font-lock faces.  The option was unreleased, so no aliases needed.
Fix the six genuine warnings (missing arguments in docstrings, an
unquoted symbol, an unescaped paren, an embedded keycode) and disable
checkdoc's experimental third-person-verb check in the Eldev config -
it misfires on nouns like "tests" and "highlights", which a Clojure
IDE can hardly avoid in docstrings.
bbatsov added 3 commits July 3, 2026 15:09
History is cheap, and 500 entries is easy to blow through in a day of
REPL work.  Also freshen cider-print-buffer-size's docstring, which
still described the pre-#4049 per-chunk font-locking behavior; its 4K
default stays - benchmarking chunk sizes against a live nREPL showed
no measurable difference between 4K and 16K, and a regression at 64K.
Truncate huge eval results before the overlay face bookkeeping walks
them (they get cut to the display threshold anyway), and give the
reload-clear sync request a 60s timeout - the op is fast by itself but
serializes behind any refresh already in flight (#3652).
cider-macroexpand-all moved to C-c M-m a, and the card now also lists
inline macrostep, source-based find-references, the who-calls /
who-implements queries and cider-ns-reload.
@bbatsov bbatsov merged commit f8a21a8 into master Jul 3, 2026
12 checks passed
@bbatsov bbatsov deleted the cider2-polish branch July 3, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant