[ESS] ESS 13.05 release next week: beta testers welcome
rsparapa at mcw.edu
Mon May 13 20:45:55 CEST 2013
On 05/13/2013 06:06 AM, Vitalie Spinu wrote:
> The only difference between RRR and C++ is the brace-offset. So instead
> in RRR, one have
> in C++.
> The DEFAULT is built dynamically from global user's custom settings (like
> ess-indent-level). So your distribution ignores those.
> ╭──────── #732 ─ /home/vitoshka/ESS/git/lisp/ess-custom.el ──
> │ (defvar ess-default-style-list
> │ (list 'DEFAULT
> │ (cons 'ess-indent-level '(default-value 'ess-indent-level))
> │ (cons 'ess-continued-statement-offset '(default-value 'ess-continued-statement-offset))
> │ ....
> │ (cons 'ess-arg-function-offset-new-line '(default-value 'ess-arg-function-offset-new-line))
> │ (cons 'ess-close-brace-offset '(default-value 'ess-close-brace-offset)))
> │ "Default style constructed from initial values of indentation variables.")
> ╰──────── #744 ─
> DEFAULT style uses 2 as indentation level, but people usually prefer 4
> (like in C++ and RRR styles). I personally also use 4 and I think it is
> visually much better.
> The solution would be to change the global defaults (DEFAULT style) to
> comply with RRR style and to remove the (setq ess-default-style 'C++)
> from your init files.
> What do people think about this change?
Rodney Sparapani, PhD Center for Patient Care and Outcomes Research
Sr. Biostatistician http://www.mcw.edu/pcor
4 wheels good, 2 wheels better! Medical College of Wisconsin (MCW)
WWLD?: What Would Lombardi Do? Milwaukee, WI, USA
More information about the ESS-help