[NTG-pdftex] C style

Olaf Weber olaf at infovore.xs4all.nl
Tue Dec 27 21:27:01 CET 2005


Taco Hoekwater writes:
> Martin Schröder wrote:
>> On 2005-12-14 13:40:42 +0100, Martin Schröder wrote:
>>> On 2005-12-14 10:05:21 +0100, Taco Hoekwater wrote:

>>>> At what point do you intend to flatten the web files?

>>> Starting with beta, i.e. after 2006-01-15.

>> 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 ...

That's not about etags, it's about grep, in particular the ability to
do "grep ^foo *.c" and find the defn of foo().  Apart from the space
(which is abominable) after the function name, I have learned to
appreciate this style.

-- 
Olaf Weber

               (This space left blank for technical reasons.)



More information about the ntg-pdftex mailing list