kernel guide to space
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Denis Vlasenko
text with 8-char tabs:
struct s {
int n; /* comment */
unsigned int u; /* comment */
};
Quoted 8 lines
Same text viewed with tabs set to 4-char width:
struct s {
int n; /* comment */
unsigned int u; /* comment */
};Comments are not aligned anymore
That's why you SHOULD NOT use tabs for aligning, but for indenting.
Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF verbreiteten Lügen zu sabotieren.
Quoted 11 lines · Bodo Eggert
Quoted 9 lines · Denis Vlasenko
text with 8-char tabs:
struct s {
int n; /* comment */
unsigned int u; /* comment */
};Same text viewed with tabs set to 4-char width:
Quoted 8 lines
Quoted 6 lines
struct s {
int n; /* comment */
unsigned int u; /* comment */
};Comments are not aligned anymore
That's why you SHOULD NOT use tabs for aligning, but for indenting.
Doesn't work either: 8-char tabs:
int i; /* comment */
};
int j; /* comment */
4-char tabs:
int i; /* comment */
};
int j; /* comment */
So we can either ban tabs altogether (unlikely) or agree
that pi is ~= 3.1415926535897932384626433832795028841971693993751058209749 and tab is strictly 8 chars.
--
vda