public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Ralf Habacker" <Ralf.Habacker@freenet.de>
To: "Jason Tishler" <jason@tishler.net>, <cygwin@cygwin.com>
Subject: RE: rebase-0.4 patch
Date: Thu, 05 Dec 2002 08:20:00 -0000	[thread overview]
Message-ID: <014c01c29c79$e12fb050$0a1c440a@BRAMSCHE> (raw)
In-Reply-To: <20021205114340.GA1468@tishler.net>

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

      reply	other threads:[~2002-12-05 16:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-03 13:25 Jason Tishler
     [not found] ` <00d101c29b60$ca190c00$0a1c440a@BRAMSCHE>
2002-12-04 12:50   ` Jason Tishler
2002-12-04 13:01     ` Robert Collins
2002-12-04 13:06       ` Christopher Faylor
2002-12-06  5:45         ` Jason Tishler
2002-12-05  0:20     ` Ralf Habacker
2002-12-05  0:43       ` Robert Collins
2002-12-05  0:50         ` Ralf Habacker
2002-12-05  2:31           ` Robert Collins
2002-12-05  0:54         ` Ralf Habacker
2002-12-05  1:46           ` Robert Collins
2002-12-05  3:45             ` Jason Tishler
2002-12-05  8:20               ` Ralf Habacker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='014c01c29c79$e12fb050$0a1c440a@BRAMSCHE' \
    --to=ralf.habacker@freenet.de \
    --cc=cygwin@cygwin.com \
    --cc=jason@tishler.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).