[NTG-pdftex] C style

Hartmut Henkel hartmut_henkel at gmx.de
Thu Dec 22 20:28:27 CET 2005


On Thu, 22 Dec 2005, Taco Hoekwater wrote:

> Martin Schröder wrote:
>
> > On 2005-12-14 13:40:42 +0100, Martin Schröder wrote:
> >
> > I'd also like to unify our coding style. One easy way to do this is
> > to use indent(1). Any opinions on options to use? The default (i.e.
> > GNU coding standards) with --no-tabs seems OK to me.
>
> I've always disliked the GNU "etags-is-too-stupid-for-anything-else"
> function headers that break over a line, like:
>
>   int
>   main (int argv, argc**)
>
> But I'll happily run any kind of indent command after I've finished
> editting so ...

i've already started to indent everything in reach, see the remark in
the headers of some of pdftex's .c files:

/* source code indentation by "indent -kr -nut" */

This looks quite natural: KR-mode and no tabs.

Regards, Hartmut


More information about the ntg-pdftex mailing list