Yes, a lot has changed since 5.11. The default indentation style now follows the R standard 4 spaces for indentation. Select the best style from ess-style-alist and set ess-default-style :
(setq ess-default-style 'OWN)
To revert to the old default values ββand configure the parameters for individual variables, for example ess-indent-level add this:
(setq ess-default-style 'DEFAULT)
A bit confusing, the name DEFAULT comes from default-value , i.e. the style is based on the default settings for indentation, such as ess-indent-level , ess-arg-function-offset , ess-brace-offset , etc.
FWIW, you can change the indent syntax interactively using Cc. ( Cc Ce Cs since 2014).
VitoshKa
source share