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: Jim Meyering
Subject: Re: untabify - last call for objections
Date: Thu, 10 Dec 2009 14:09:26 +0100

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?

Sure: use --no-tabs.

>From coreutils' HACKING:

    Ensure that your changes are indented properly.
    ===============================================
    Format the code the way GNU indent does.
    In a file with the "indent-tabs-mode: nil" directive at the end,
    running "indent --no-tabs" should induce no change.
    With other files, there will be some existing differences.
    Try not to add any more.




reply via email to

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