[vtk-developers] TABS and SPACES

Lorensen, William E (CRD) lorensen at crd.ge.com
Tue Nov 13 09:43:17 EST 2001


Folks,
I've converted all .h and .cxx files in VTK that had hard tabs. Most of the tabs were due to emacs
compressing spaces into tabs. In order to retain the spacing that was in the files, I ran the unix
expand command with a -8 arg. This replaced all hard tabs with 8 spaces. I checked a dozen or so
files to see that the indentation was retained.

Some files may have munged indentation. If you notice bad spacing, please repair it next time you
check in the file.

For emacs users, you need to
(setq-default indent-tabs-mode nil)

to have emacs convert your tabs to spaces.

Bill




More information about the vtk-developers mailing list