From bhx2 at mevik.net  Sun May 22 22:56:49 2005
From: bhx2 at mevik.net (bhx2@mevik.net)
Date: Sun May 22 22:56:50 2005
Subject: [Rd] R-exts.texi: nuke-trailing-whitespace has changed name
	(PR#7888)
Message-ID: <20050522205649.33BD7A27D@slim.kubism.ku.dk>

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)


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