[ESS-bugs] underscore randomly stops doing <-

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Tue May 21 14:36:55 CEST 2019


Hi Thej -

On Mon 20 May 2019 at 15:22, Thej Kiran <thetj09 using gmail.com> wrote:

> This happens often to me 5times in a month. The underscore stops working
> as <- when I am using R in Emacs.
>
> I quit ("q()") and started R console again, but no use. I looked to
> restart the mode by (`M-x ess-mode`), but I couldn't find that option. I
> decided to change the variable `ess-toggle-underscore nil` but didn't
> find that variable when I did "C-h v".

Have you read the release notes for 18.10? This part in particular is important:

- 'smart-underscore' and 'ess-smart-S-assign-key' have been removed.
  Users who liked the previous behavior (i.e. underscore inserting
  ``<-'') should bind 'ess-insert-assign' to the underscore in their
  Emacs initialization file. For example, (define-key ess-r-mode-map "_"
  #'ess-insert-assign) and (define-key inferior-ess-r-mode-map "_"
  #'ess-insert-assign) will activate it in all ESS R buffers.
  
Thanks,
Alex



More information about the ESS-bugs mailing list