Skip to content

"No comment syntax is defined. Use: " in minibuffer when compiling after test/error #2105

Closed
@harold

Description

@harold

(Thanks, as ever, for CIDER. It's the best and you're the best)

Expected behavior

File compiles fine, no buffers move or close, minibuffer is not focused, workflow uninterrupted.

Actual behavior

*cider-error* buffer is buried, minibuffer is focused and says No comment syntax is defined. Use: , file may or may not be compiled.

Steps to reproduce the problem

  1. Run a test (cider-test-run-test) that has an error (throws)
    • *cider-test-report* buffer appears (as expected)
  2. Select the error: link at the bottom of the buffer
    • *cider-error* buffer appears w/ stack-trace in it (as expected)
  3. Select the line in your code that caused the error
    • File with errant code it in appears (as expected)
  4. Make a change to the code - attempting to fix the error
  5. C-x C-s C-c C-k to save the file and compile the new (hopefully fixed) code
    • 💥 cider-error buffer weirdly is buried, minibuffer is focused and says No comment syntax is defined. Use: ...

Environment & Version information

GNU Emacs 24.5.1 on Linux gibson 4.8.0-59-generic #64-Ubuntu SMP Thu Jun 29 19:38:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

CIDER version information

;; CIDER 0.15.1 (London), nREPL 0.2.12
;; Clojure 1.8.0, Java 1.8.0_111

Lein/Boot version

$ lein --version
Leiningen 2.7.2-SNAPSHOT on Java 1.8.0_111 Java HotSpot(TM) 64-Bit Server VM

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