ess-r-mode newline will copy the content again when trying to insert a newline before a sentence
Closed this issue · 1 comments
beyondpie commented
Hi ESS Group,
Thank you so much for the package! I use it everyday. Today I face a weird trouble:
If I have a code blow:
a <- 1
b <- 1
Then if I enter "Enter" button (newline or ess-roxy-newline if I set ess-roxy-mode as t) when my cursor is right before "b", it will become (this happens not always but with a large probability):
a <- 1
b <- 1
b <- 1
Do you know why this happens? This is happened when I close ess-roxy-mode. And this does not happen in Python-mode.
I use Emacs 30.05 and the latest ESS under macOS.
Thanks!
Songpeng
beyondpie commented
I think this is related with Emacs version I am using. Under Emacs 29.3, I did not see this problem.