delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/05/11:18:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de>
To: "Jason Tishler" <jason AT tishler DOT net>, <cygwin AT cygwin DOT com>
Subject: RE: rebase-0.4 patch
Date: Thu, 5 Dec 2002 17:18:00 +0100
Message-ID: <014c01c29c79$e12fb050$0a1c440a@BRAMSCHE>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
In-Reply-To: <20021205114340.GA1468@tishler.net>
Importance: Normal

> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019