This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: rebase-0.4 patch
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Jason Tishler" <jason at tishler dot net>, <cygwin at cygwin dot com>
- Date: Thu, 5 Dec 2002 17:18:00 +0100
- Subject: RE: rebase-0.4 patch
> On Thu, Dec 05, 2002 at 08:44:37PM +1100, Robert Collins wrote:
> > On Thu, 2002-12-05 at 19:50, Ralf Habacker wrote:
> > > astyle --gnu does not work. It must be astyle --style=gnu.
> > >
> > > What about spaces and tabs. Tabs would make big files smaller as
> > > using tabs, but the problem is with the indention, which isn't equal
> > > for all users and all editors. For example I'm using 2 spaces.
> >
> > It's your library. You and Jason can battle this one out. I find that
> > the result of simply astyle --style=gnu are good and consistent. You
> > can do whatever you want though.
>
> To be consistent with the rest of the Cygwin source, I suggest the
> following:
>
> o tabstop = 8
> o indent = 2
>
cygwin setup seems to use 2 spaces for an indent and to avoid tabs the resulting
line should be
astyle --style=gnu -s2 --convert-tabs
I've checked the sources with this style.
Ralf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/