[ESS] ESS language defaults to S

Aleksandar Blagotić aca.blagotic at gmail.com
Thu Dec 9 13:14:26 CET 2010


Hi lads,

I've been using ESS about a year now, and I always found annoying this
li'l bug in ESS. Whenever I end up with multiple interactive R
sessions, and I want to switch between them, I type C-c C-k and "S"
appears by default. So I have to change that each time I stroke the
keybinding. I tried customising "ess-language" variable, but with no
luck. @Vitoshka came up with this fix after my rant on SO:

(defun ess-set-language ()
  (setq-default ess-language "R")
  (setq ess-language "R")
  )

(add-hook 'ess-post-run-hook 'ess-set-language t)


But if I apply that, I cannot access M-_ keybinding. Any ideas?

Best,
aL3xa



More information about the ESS-help mailing list