emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
613 stars 160 forks source link

iESS cursor works without any input #1200

Open rromoli opened 2 years ago

rromoli commented 2 years ago

I have a very annoying issue running R with emacs+ess on the remote workstation. My local PC runs Fedora 36 (all up to date), the remote workstation run Debian 11 (all up to date). I used "vanilla" emacs, spacemacs and doom emacs, ad all of them have the same behaviour. I run emacs 27.2 from fedora official repo. I installed ess from within emacs. As in the video attached, the cursor on the right, the one in the R console, seems to move independently while I work on the left buffer...indeed, but not in the video, the right buffer, the R console, also print repeatedly previous code chunk...

Do you have some ideas to try to fix this issue?

maxecharel commented 2 years ago

I sometimes encounter a similar issue; it was the case with Emacs 27.2 and is still the case with 28.1. While I am just editing an .R script without sending any instructions to the inferior R process, iESS acts like it received a <RET>. It is not systematic though, and usually what I do is simply restarting the process without worrying too much, but since @rromoli reports I allow myself to join.

mmaechler commented 2 years ago

Confirmed here, too. As you say, it "suddenly" starts behaving in that way sometimes after a while of using ESS/iESS ... so hard to find a reprex.