For most projects I work on I use a before-save-hook
to run whitespace-cleanup
. This is fine when everybody on the team cleanups up their spaces but sometimes I am involved in already running projects were most files are littered with trailing white. Currently I simply turn off my save-hook and add my share of spaces but ideally I want my diffs to be squeaky clean..
Are there any packages out there which only cleanup whitespace on the lines I touched?