[rfc-i] tabs [was: sourcecode indentation]
julian.reschke at gmx.de
Mon Feb 15 23:09:53 PST 2016
On 2016-02-16 07:14, Joe Hildebrand (jhildebr) wrote:
> I think the current situation is pretty close to 2119's "SHOULD NOT". You SHOULD NOT put a tab character in <sourcecode>, unless it is absolutely required in the target language. To deal with this, we could add a tabs="true" attribute to <sourcecode>, and give an error if there's an unintended tab character.
> Alternately, we could just say that tab-encrusted Makefile's aren't supported in an RFC, and always throw an error on tabs. Tabs can be worked around in GNU make (https://www.gnu.org/software/make/manual/html_node/Special-Variables.html):
> .RECIPEPREFIX = >
>> @echo Hello, world
+1 to disallow TABs, until somebody can show how this becomes a problem
for something other than a Makefile.
Best regards, Julian
More information about the rfc-interest