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

Martin Maechler maechler at stat.math.ethz.ch
Wed May 25 15:21:44 CEST 2005


Thank you,
Bjørn-Helge,

>>>>> "BjøHM" == Bjørn-Helge Mevik <bhx2 at mevik.net>
>>>>>     on Sun, 22 May 2005 22:56:49 +0200 (CEST) writes:

	  ......

    BjøHM> In Appendix B R coding standards of the Writing R
    BjøHM> Extensions manual, Emacs/ESS users are encouraged to
    BjøHM> use

    BjøHM> ..............

    BjøHM> However, as of ess-5.2.4 (current is 5.2.8)
    BjøHM> `nuke-trailing-whitespace' has changed name to
    BjøHM> `ess-nuke-trailing-whitespace'.

    BjøHM> In addition: by default, ess-nuke-trailing-whitespace
    BjøHM> is a no-op (as was nuke-trailing-whitespace).  To
    BjøHM> `activate' it one must set
    BjøHM> ess-nuke-trailing-whitespace-p to t or 'ask (default
    BjøHM> is nil), e.g.  (setq ess-nuke-trailing-whitespace-p t)

Thank you. I've now changed it to

---------------------------------------------

.................
.................

            (add-hook 'local-write-file-hooks
                      (lambda ()
                        (ess-nuke-trailing-whitespace)))))
(setq ess-nuke-trailing-whitespace-p 'ask)
;; or even
;; (setq ess-nuke-trailing-whitespace-p t)



More information about the R-devel mailing list