[ESS] underscore in BUGS mode

Steven McKinney smckinney at bccrc.ca
Thu Mar 22 20:45:36 CET 2012


If you hit underscore twice, you will get an underscore.

So it just depends on which item you want to use two keystrokes for.

Two keystrokes for "<-" and one for "_" or
one keystroke for "<-" and two for "_".


Steven McKinney


> -----Original Message-----
> From: ess-help-bounces at r-project.org [mailto:ess-help-bounces at r-
> project.org] On Behalf Of Jack Tanner
> Sent: March-22-12 12:07 PM
> To: ess-help at stat.math.ethz.ch
> Subject: [ESS] underscore in BUGS mode
> 
> Sorry if this is a FAQ; I searched in the archives but didn't find an
> answer.
> 
> 1. In ESS[BUGS] mode, underscore is bound to ess-bugs-hot-arrow, which is
> definitely wrong, because it doesn't let me create variables like foo_bar.
> 
> 2. I'd like it if I could use smart-underscore as in ESS[S] mode, but if I
> do
> 
> (define-key ess-bugs-mode-map (kbd "_") 'ess-smart-underscore)
> 
> then there's no smart-underscore behavior, just a plain underscore.
> 
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list