Closed
Description
This applies at least to Emacs 25, I do not know about earlier versions.
0. Start clean Emacs instance with emacs -Q
, load up required libs, inf-clojure
, clojure-mode
...
- Start REPL with M-x inf-clojure
- Input something and evaluate with RET
- Describe variable
comint-stored-incomplete-input
, which should have the valuenil
, all OK so far. - Without inputting anything new, navigate to previous history item with M-p
- Describe variable
comint-stored-incomplete-input
again, and now it contains the actual prompt with fontification and all:
#("user=> " 0 7 ....)
- Try going back to current input with M-n, and the prompt gets inserted as actual "restored incomplete input", which is clearly wrong. So you end up with "user=> user=> ". This causes even bigger problems when using the default read-only-prompt setting (navigating history stops working properly).
Metadata
Metadata
Assignees
Labels
No labels