Skip to content

annoying error when quiting cider in emacs-27.1 on windows #2983

@ikappaki

Description

@ikappaki

There is an annoying issue when quiting cider in emacs 27.1 on
windows. The following puzzling error message is displayed to the
user with a loud bang:

error in process sentinel: Could not start nREPL server:

To reproduce with the minimum steps taken in emacs-27.1 under windows 10:

  1. Create a deps.edn file with an empty {} dictionary as contents and open it in emacs.
  2. Cider-jack-in-clj (C-c M-j); a connection to the REPL is opened.
  3. cider-quit (C-c C-q) the repl.
  4. above error message is displayed, there shouldn't be any errors since nothing has gone wrong.

The issue is caused by emacs bug #46284
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46284 and only affects
27.1 (fixed in subsequent versions).

PR to follow.

;; CIDER 1.0.0 (Sofia), nREPL 0.8.3
;; Clojure 1.10.1, Java 11.0.7

GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-11-19

Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions