reindenting

Tom Yu tlyu at MIT.EDU
Wed Oct 28 17:31:47 EDT 2009


Simo Sorce <ssorce at redhat.com> writes:

> On Wed, 2009-10-28 at 16:28 -0400, Tom Yu wrote:
>> There are
>> customizations that Emacs users should use to set up their editor to
>> conform to our C coding style.
>
> Do you have a description of the indenting rules as a set of options to
> 'indent' (the program) for those that do not use emacs ?
> Alternatively a style guide where the rules are stated ?
> (sorry for the noise if this was already been published)

Please look at

    http://k5wiki.kerberos.org/wiki/Coding_style

and its child pages (linked near the top of the page).

The indent.pro settings are only a rough guideline; running GNU indent
on the tree results in a great deal of carnage: much worse than doing
the Emacs reindent.  There are suggested vim/gvim settings as well.
Feedback on these style guidelines is welcome.



More information about the krbdev mailing list