bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: untabify - last call for objections


From: Pádraig Brady
Subject: Re: untabify - last call for objections
Date: Thu, 10 Dec 2009 15:04:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

On 10/12/09 14:33, Simon Josefsson wrote:
Bruno Haible<address@hidden>  writes:

Simon Josefsson wrote:
Is there a need to modify how 'indent' works here?  Or document how to
make indent do the right thing?  When making substantial changes to
gnulib code, I tend to run 'indent' on the code to make sure I'm
following the right style -- but that would add tabs, wouldn't it?

Right. Good point. I'll also add to the README the sentence

   If you use the GNU indent program, pass it the option '--no-tabs'.

Is this style something we want to try push into the GNU Coding Standard
and/or into the GNU indent default?

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.
This is my ~/.indent.pro for coreutils.

-Toff_t
-Twchar_t
-Tsize_t
-TFILE
-nut
-l80

Should each project ship an indent file to
match their particular coding standard?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]