[ESS] A problem on nuke-trailing-whitespace (migration from Ubuntu 10.04 to Wheezy)

ottorino ottorino-luca.pantani at unifi.it
Tue Feb 12 10:11:47 CET 2013


Il giorno mar, 12/02/2013 alle 02.42 +0100, Vitalie Spinu ha scritto:

>   > Hi Ottorino
> 
>   > Well, I sympathize since I often run into teething problems on a new system.
>   > However, I don't see how this problem could have been generated by ESS.  So, I
>   > think you should look elsewhere such as Emacs itself.
> 
> There is ess-nuke-trailing-whitespace, may be that is what was intended
> in your .emacs.
> 
Bingo !!

it was

(add-hook 'local-write-file-hooks
	     (lambda ()
	       (nuke-trailing-whitespace)))

and it should have been

(add-hook 'local-write-file-hooks
	     (lambda ()
	       (ess-nuke-trailing-whitespace)))

But I do not understand why it was working in the old computer.

Thanks also and especially for the moral support !!



More information about the ESS-help mailing list