[rfc-i] tabs [was: sourcecode indentation]

HANSEN, TONY L tony at att.com
Tue Feb 16 10:34:05 PST 2016


On 2/16/16, 10:36 AM, "Paul Hoffman" <paul.hoffman at vpnc.org> wrote:


>On 16 Feb 2016, at 6:30, Tony Hansen wrote:
>
>>> On Feb 16, 2016, at 1:14 AM, Joe Hildebrand (jhildebr) 
>>> <jhildebr at cisco.com> 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.
>>
>> A light tweak would be tabs="8" if tabs are present and to be allowed, 
>> and error if tabs is not defined.
>>
>+1 to "no tabs allowed at all", given that the only example given so far 
>is makefiles and we have now seen why they are not needed.

The other example is

<source src="http://some/path/to/code">

where the author may not be able to control whether tabs are used there or not.

	Tony


More information about the rfc-interest mailing list