Skip to content

Move universal jack-in + project-type detection to cider-jack-in.el#3907

Merged
bbatsov merged 1 commit into
masterfrom
extract-universal-jack-in
May 12, 2026
Merged

Move universal jack-in + project-type detection to cider-jack-in.el#3907
bbatsov merged 1 commit into
masterfrom
extract-universal-jack-in

Conversation

@bbatsov
Copy link
Copy Markdown
Member

@bbatsov bbatsov commented May 12, 2026

Pulls the last clearly-jack-in bits out of cider.el. cider-jack-in-universal is the obvious peer to cider-jack-in-clj/cljs, which already live in cider-jack-in.el; this completes the jack-in subsystem extraction.

Moved:

  • cider--identify-buildtools-present and cider-project-type — project-type detection that walks cider-jack-in-tools.
  • cider--effective-jack-in-default — auto-detect helper for the default tool when cider-jack-in-default is nil.
  • cider--universal-jack-in-tools, cider--universal-jack-in-opts, and cider-jack-in-universal — the dispatcher driven by :universal-prefix-arg.

cider-jack-in.el forward-declares cider-preferred-build-tool and cider-jack-in-default (still defcustoms in cider.el). The ;;;###autoload cookie on cider-jack-in-universal is preserved.

cider.el: 1181 → 1070 lines.

  • Compiles clean with eldev compile --warnings-as-errors
  • All 547 tests pass (eldev test)
  • No CHANGELOG entry — pure refactor, no user-visible change

cider-jack-in-universal is the obvious peer to cider-jack-in-clj/cljs,
all of which already live in cider-jack-in.el; pulling these final bits
in completes the jack-in subsystem.

Moved:
- cider--identify-buildtools-present and cider-project-type - project
  type detection that walks cider-jack-in-tools (already in this file)
- cider--effective-jack-in-default - auto-detect helper for the
  default tool when cider-jack-in-default is nil
- cider--universal-jack-in-tools, cider--universal-jack-in-opts, and
  cider-jack-in-universal - the dispatcher driven by :universal-prefix-arg

cider-jack-in.el forward-declares cider-preferred-build-tool and
cider-jack-in-default (still defcustoms in cider.el).  The ;;;###autoload
cookie on cider-jack-in-universal is preserved.

cider.el drops from 1181 to 1070 lines.
@bbatsov bbatsov merged commit becd1a1 into master May 12, 2026
13 checks passed
@bbatsov bbatsov deleted the extract-universal-jack-in branch May 12, 2026 18:28
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