Skip to content

cider-repl-history is corrupted #3915

@cch1

Description

@cch1

Expected behavior

Executing cider-repl-history shows the history.

Actual behavior

Executing cider-repl-history reports Unmatched bracket or quote and shows nothing.

Steps to reproduce the problem

  1. Start emacs from scratch.
  2. cider-jack-in
  3. invoke cider-repl-history
  4. quit history (q).
  5. invoke cider-repl-history again.

Note that on the first invocation everything seems fine -I can browse all the history.

Environment & Version information

CIDER version information

;; Connected to nREPL server - nrepl://localhost:49283
;; CIDER 1.21.0 (Gràcia), nREPL 1.5.2
;; Clojure 1.11.4, Java 17.0.8
;;     Docs: (doc function-name)
;;           (find-doc part-of-name)
;;   Source: (source function-name)
;;  Javadoc: (javadoc java-object-or-class)
;;     Exit: <C-c C-q>
;;  Results: Stored in vars *1, *2, *3, an exception in *e;
;;  Startup: /Users/cch1/.asdf/shims/clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.5.2\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.58.0\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[cider.nrepl/cider-middleware\]\"\]\}\}\} -M:dev:test:cch1:cider/nrepl

Lein / Clojure CLI version

Clojure CLI version 1.11.1.1435

Emacs version

30.2

Operating system

Darwin CCH-2023-MBP-2.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:04 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6020 arm64

JDK distribution

openjdk version "17.0.8" 2023-07-18 LTS
OpenJDK Runtime Environment Corretto-17.0.8.7.1 (build 17.0.8+7-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.8.7.1 (build 17.0.8+7-LTS, mixed mode, sharing)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions