[rfc-i] tabs [was: sourcecode indentation]
Joe Hildebrand (jhildebr)
jhildebr at cisco.com
Tue Feb 16 10:48:46 PST 2016
On 2/16/16, 11:34 AM, "rfc-interest on behalf of HANSEN, TONY L" <rfc-interest-bounces at rfc-editor.org on behalf of tony at att.com> wrote:
>The other example is
>where the author may not be able to control whether tabs are used there or not.
The preptool can handle that. It will already be getting the URL, inserting the text, and removing the src attribute. It can either error or try to untabify if it finds tabs. If it's going to untabify, it would probably have to look for both the emacs and vi tab width hints, which sounds like a PITA, but would be possible.
I'd vote for just throwing an error. If you don't control the source, have your build tool use curl to pull it down locally, untabify using whatever means you want, and point @src to the local file.
Note: I'm going to start a new thread on sourcecode/@originalSrc
More information about the rfc-interest