[Rd] R-exts.texi: nuke-trailing-whitespace has changed name (PR#7888)

bhx2 at mevik.net bhx2 at mevik.net
Sun May 22 22:56:49 CEST 2005


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)



More information about the R-devel mailing list