What tells the coding style about whitespaces at end of lines or in *empty* lines ?
Michael Veksler
mveksler@tx.technion.ac.il
Thu Mar 1 19:22:00 GMT 2007
Sergei Organov wrote:
> Emacs could be configured either way:
>
> (setq-default indent-tabs-mode nil)
>
>
If that is to become a policy, simply append:
// Local Variables:
// whitespace-global-mode
// indent-tabs-mode:t
// tab-width:8
// c-basic-offset:4
// End:
At the end of each file. This way, emacs will enforce this policy for
all such files. The beauty of this is that different files may enforce
different policies. This allows consistency in old files without
re-indenting them, it allows different policies for different sub-projects.
--
Michael Veksler
http:///tx.technion.ac.il/~mveksler
More information about the Gcc
mailing list