RE: Indention - why spaces?

Heater, Daniel (Daniel.Heater@gefanuc.com)
Tue, 31 Dec 2002 17:43:40 -0500



> indent itself dosen't have a 'Linux standard' BUT
> .../linux/scripts/Lindent
> is there to get things right (in terms of CodingStyle)

Thanks, I wasn't aware of that one, but had created my own version.

A couple more gallons of fuel to the flame :)

indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl "$@"

-psl: seams to be inconsistent with much of the kernel code.
6 == half dozen IMHO.

-sob: Ackkk! I prefer to have two blank lines between functions. I think it
just
makes things easier for the eyes to parse. But in general, I'd say respect
the
authors judgement in use of blank lines.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/