I am using iESS console and editor (ESS) for R programming, and often times (and randomly) the _
stops resulting in <-
.
To temporarily hack it, I found that I could use ess-toggle-underscore
or ess-toggle-S-assign
here. BUT they don't seem to exist when I M-x
or look at changing the value by M-x customize-variable
.
- I would like atleast a temporary hack like, using a command and resetting the behavior
- I would like to get to the bottom of this! Can you guide me where I need to look?
P.S The only way I reset the system is by restarting the buffer aka closing the file/console and opening it again.
Thanks!
C-h f
. So I found this interactive functioness-smarter-underscore
but doesn't seem to be helping either. All it does is print_
or<-
which would take me less time to just write them out. Would you know how I can disable a major-mode and reenable it? I triediESS-mode
(based onC-h m
) but it doesn't seem to be interactive as well. – Pandian Le Jul 01 '19 at 08:35normal-mode
will turn off the current major mode and then reenable whatever mode is normal for the type of file you're editing. – db48x Jul 01 '19 at 17:18