Pádraig Brady <[email protected]> writes: >> I don't care much about coding styles conventions, but I care about >> consistency. Moving away from the default style of GNU indent in gnulib >> seems a bit inconsistent to me. I can't find anything about tab vs >> space in the coding standard though. Thoughts? > > I'm not sure `indent` is being kept up to date TBH.
There was a release earlier this year though. > This is my ~/.indent.pro for coreutils. > > -Toff_t > -Twchar_t > -Tsize_t > -TFILE Those seems uncontroversial and could potentially be made default in indent, right? It probably has a built-in list of other type already, those are just missing? > -nut This is the new mode under discussion here. > -l80 Seems uncontroversial too. > Should each project ship an indent file to > match their particular coding standard? I think that would be useful. Note that 'maint.mk' provides an 'indent' rule for gnulib applications that uses maintainer-makefile. /Simon
