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.