From maechler at stat.math.ethz.ch  Wed May 25 15:21:44 2005
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed May 25 15:22:12 2005
Subject: [Rd] R-exts.texi: nuke-trailing-whitespace has changed name
	(PR#7888)
In-Reply-To: <20050522205649.33BD7A27D@slim.kubism.ku.dk>
References: <20050522205649.33BD7A27D@slim.kubism.ku.dk>
Message-ID: <17044.31720.749175.809068@stat.math.ethz.ch>

Thank you,
Bj?rn-Helge,

>>>>> "Bj?HM" == Bj?rn-Helge Mevik <bhx2@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)


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