Skip to content

cider-pprint-eval-last-sexp-to-comment forgets "Elapsed time" #3732

Open
@metayan

Description

@metayan

Expected behavior

Using C-u C-c C-p with time should insert result and show "Elapsed time: x.xx msecs" in REPL.

Actual behavior

Result is inserted, but "Elapsed time" is not shown in REPL.

Steps to reproduce the problem

In a .clj file in Emacs:

(time nil)
;; press C-u C-c C-p

Note

C-u C-x C-e works correctly - inserts result in edited file and shows "Elapsed time" in REPL.

Environment & Version information

CIDER version information

;; CIDER 1.15.1 (Cogne), nREPL 1.3.0
;; Clojure 1.11.4, Java 19.0.1

also with
;; CIDER 1.14.0 (Verona), nREPL 1.1.2

Emacs version

28.2, 29.4

Operating system

Linux, macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions