How many spaces a tab is worth David Allouche (01 Dec 2003 12:44 UTC)
|
Re: How many spaces a tab is worth
bear
(02 Dec 2003 04:16 UTC)
|
Re: How many spaces a tab is worth
redhog@xxxxxx
(04 Dec 2003 20:33 UTC)
|
Re: How many spaces a tab is worth
Bradd W. Szonye
(04 Dec 2003 22:05 UTC)
|
Re: How many spaces a tab is worth
Taylor Campbell
(04 Dec 2003 22:43 UTC)
|
Re: How many spaces a tab is worth
redhog@xxxxxx
(05 Dec 2003 00:06 UTC)
|
Re: How many spaces a tab is worth
bear
(05 Dec 2003 00:27 UTC)
|
How many spaces a tab is worth David Allouche 01 Dec 2003 12:44 UTC
The draft reads: For this proposal, a TAB should be counted as exactly four spaces. That is wrong. TAB is worth 8 spaces if anything. Anyway, mixing tabs and spaces for indentation is a neverending source of confusion. There should be features to have this cause warnings or errors. See PEP-8 for how the Python people handle that issue: http://www.python.org/peps/pep-0008.html HTML4 also has a warning about the tab-indentation issue: http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#edef-PRE Anyway, the current proposal is is worst possible in regard to that specific issue. About the rest of the SRFI, I have too much a hard time understanding the production rules to make any constructive comment, but the examples look right to me. -- -- ddaa