Boost logo

Boost :

Subject: Re: [boost] [Intrusive] Cleaning up trailing white space
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-05-28 04:58:47

on Mon May 21 2012, Christopher Schmidt <> wrote:

> Dave Abrahams <dave_at_[hidden]> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at