This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What tells the coding style about whitespaces at end of lines or in *empty* lines ?
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