<div dir="ltr"><div><div><div>Hi,<br><br>as you know, in C code we have mixed tabs and spaces. When I was explaining somebody why the files must be formated is such a strange way (either using script, in editor, or manually), I realized that I really want to change it.<br>

<br></div>What about formatting the new files in some more standard way? For example, using only spaces for all levels of indentation.<br><br></div>In other words, if there is some rule there should be some reasoning behind it. Four spaces for first level and one tab for second level does not make any sense to me. If old files cannot be changed, let's at least not introduce bad practice to new files.<br>

<br></div>What do you think?<br><div><div><div><div><br></div><div>Vaclav<br></div><div><br><a href="http://trac.osgeo.org/grass/ticket/1663">http://trac.osgeo.org/grass/ticket/1663</a><br><a href="http://trac.osgeo.org/grass/ticket/1832">http://trac.osgeo.org/grass/ticket/1832</a><br>

<a href="http://trac.osgeo.org/grass/browser/grass-addons/tools/module_svn_propset.sh" target="_blank">http://trac.osgeo.org/grass/browser/grass-addons/tools/module_svn_propset.sh</a><br><a href="http://trac.osgeo.org/grass/export/61706/grass-addons/tools/module_svn_propset.sh" target="_blank">http://trac.osgeo.org/grass/export/61706/grass-addons/tools/module_svn_propset.sh</a><br>

<br></div><div>PS: Doing same for Python (mixing tabs and spaces) is considered as very bad practice and there is even command line switch with will cause Python to fail if you are doing this. Requiring to mix tabs and spaces for C and not to mix for Python might lead to not keeping any rules because they are contradicting each other.<br>

</div></div></div></div></div>