Skip to content

cider--completing-read-port: Default to 7888#3918

Merged
bbatsov merged 1 commit into
clojure-emacs:masterfrom
Wilfred:default-nrepl-port
May 18, 2026
Merged

cider--completing-read-port: Default to 7888#3918
bbatsov merged 1 commit into
clojure-emacs:masterfrom
Wilfred:default-nrepl-port

Conversation

@Wilfred
Copy link
Copy Markdown
Contributor

@Wilfred Wilfred commented May 14, 2026

Whilst 7888 isn't the official port (see nrepl/nrepl#6 discussion), it's frequently used in practice. Set that as the default value in the minibuffer if we couldn't infer a port.

Most nREPL implementations do create a .nrepl-port file but it's nice to have 7888 suggested to save a few keystrokes.

  • The commits are consistent with our contribution guidelines
  • You've added tests (if possible) to cover your change(s)
  • All tests are passing (eldev test)
  • All code passes the linter (eldev lint) which is based on elisp-lint and includes
  • You've updated the changelog (if adding/changing user-visible functionality)
  • You've updated the user manual (if adding/changing user-visible functionality)

@bbatsov
Copy link
Copy Markdown
Member

bbatsov commented May 18, 2026

I'm OK with the proposal. Can you rebase the PR on top of master?

Whilst 7888 isn't the official port (see
nrepl/nrepl#6 discussion), it's frequently
used in practice. Set that as the default value in the minibuffer if
we couldn't infer a port.

Most nREPL implementations do create a `.nrepl-port` file but it's
nice to have 7888 suggested to save a few keystrokes.
@Wilfred Wilfred force-pushed the default-nrepl-port branch from 9f9a89a to f01b9ee Compare May 18, 2026 20:46
@Wilfred
Copy link
Copy Markdown
Contributor Author

Wilfred commented May 18, 2026

Done :)

@bbatsov bbatsov merged commit e0074ce into clojure-emacs:master May 18, 2026
6 checks passed
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.

2 participants