
on Mon May 21 2012, Christopher Schmidt <christopher-AT-ch.ristopher.com> wrote:
Dave Abrahams <dave@boostpro.com> writes:
They never bothered me a bit until emacs started higlighting them in red. Now I waste time trying to get rid of them instead of just ^^^^^^^^^^ turning off the highlight :-)
(add-hook 'write-file-functions (lambda () (whitespace-cleanup) nil))
One can easily write a script that cleans the whole source tree.
Yup. But that's not so great either when you start working in someone else's file and it starts adding spurious changes. And yes, I've tried packages that try to be smarter about that. Didn't work for me, so far. -- Dave Abrahams BoostPro Computing http://www.boostpro.com