Full_Name: Bjørn-Helge Mevik Version: 2.1.0 OS: GNU/Debian 3.0 Linux Submission from: (NULL) (80.111.104.162)
In Appendix B R coding standards of the Writing R Extensions manual, Emacs/ESS users are encouraged to use (add-hook 'ess-mode-hook (lambda () (ess-set-style 'C++) ;; [snip] (add-hook 'local-write-file-hooks (lambda () (nuke-trailing-whitespace))))) However, as of ess-5.2.4 (current is 5.2.8) `nuke-trailing-whitespace' has changed name to `ess-nuke-trailing-whitespace'. In addition: by default, ess-nuke-trailing-whitespace is a no-op (as was nuke-trailing-whitespace). To `activate' it one must set ess-nuke-trailing-whitespace-p to t or 'ask (default is nil), e.g. (setq ess-nuke-trailing-whitespace-p t) ______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel