Trailing white space in source code

Harri Porten porten@trolltech.com
Sat, 1 Feb 2003 21:16:42 +0100 (CET)


Hi !

One thing that makes merging sources unnecessarily difficult (apart from
$Id$ tags) is trailing white space at the end of source code lines. It is
easily appears when editing code and using TAB for indentation but it
better doesn't end up in saved and released files.

My recommendation is therefore to is to configure your favourite editor to
delete this whitespace when saving, warn about it via colors or run a
search&remove script over your sources.

Just a suggestion :)

Thanks,

Harri.

P.S. Emacs users may enjoy the agulbra-clean-out-spaces function found in
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdesdk/scripts/kde-emacs/kde-emacs-core.el