简体   繁体   中英

Why is my cursor jumping in emacs nrepl

I am starting with emacs/nrepl for coding Clojure. With some commands, resulting in printing a long JSON result, the cursor jumps to somewhere in the middle of the output. M-> brings the cursor at the end, where it should be. Hitting ENTER causes it to jump back to somewhere in the middle of the previous JSON result. I can execute a command, like (+ 1 2) - the result is printed, cursor jumps back in the previous output. After the output has scrolled out of the screen everything is behaving normal again.

What could be causing this? I'v set up emacs following http://www.braveclojure.com/basic-emacs/ with cider-nrepl 0.9.0 and emacs 24.3.1.

This sounds suspiciously like an emacs bug, though I have had problems with emacs getting very slow when the REPL buffer is very large.

Try clearing the REPL with Ctrl-c + Alt-o and see if this restores the REPL to a useful state.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM