Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-06 Thread Jon Dowland
At 1141671548, Miles Bader wrote: > If you attempted to view such code using an application > which uses the standard tab size of 8 -- e.g., more or > less in a terminal -- blocks would end up being indented > by _16 spaces per block level_, which is (pardon my > french) pretty fucking absurd. Ind

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-06 Thread Adam Borowski
On Mon, 6 Mar 2006, Hendrik Sattler wrote: Can you explain that? Either the '{' and '}' are one indentation level down or the same indentation level. Hah! Not in GNU. The GNU coding standards want you to indent '{' and '}' x/2 spaces, while the code inside is indented x. So, the result is:

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-06 Thread Hendrik Sattler
Am Montag, 6. März 2006 11:39 schrieb Hendrik Sattler: > 8bit tab width s/8bit/8 spaces/ me is confused HS pgpWd6uTc4ZU0.pgp Description: PGP signature

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-06 Thread Hendrik Sattler
Am Montag, 6. März 2006 10:59 schrieb Miles Bader: > If you attempted to view such code using an application which uses the > standard tab size of 8 -- e.g., more or less in a terminal -- blocks > would end up being indented by _16 spaces per block level_, which is > (pardon my french) pretty fucki

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-06 Thread Miles Bader
Hendrik Sattler <[EMAIL PROTECTED]> writes: >> Losses: doesn't work well with many indenting styles (e.g. it would be a >> complete lose for stuff indented in GNU style). > > Can you explain that? > > Either the '{' and '}' are one indentation level down or the same indentation > level. Because t

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-06 Thread Bas Zoetekouw
Hi Miles! You wrote: > Hendrik Sattler <[EMAIL PROTECTED]> writes: > > represented by tabs and alignment (like multi-line function arguments) > > should > > be done by spaces. > > Gains: shows fine in _every_ editor, no need to set tab-width. > > Losses: doesn't work well with many indenting st

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-06 Thread Hendrik Sattler
Am Montag, 6. März 2006 08:05 schrieb Miles Bader: > Hendrik Sattler <[EMAIL PROTECTED]> writes: > > represented by tabs and alignment (like multi-line function arguments) > > should be done by spaces. > > Gains: shows fine in _every_ editor, no need to set tab-width. > > Losses: doesn't work well

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-05 Thread Miles Bader
Hendrik Sattler <[EMAIL PROTECTED]> writes: > represented by tabs and alignment (like multi-line function arguments) should > be done by spaces. > Gains: shows fine in _every_ editor, no need to set tab-width. Losses: doesn't work well with many indenting styles (e.g. it would be a complete lose f

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-05 Thread Hendrik Sattler
Am Montag, 6. März 2006 01:28 schrieb Miriam Ruiz: >  bcpp indents C/C++ source programs, replacing tabs with spaces or the >  reverse. Yet another program that does this wrong? Indentation levels should be represented by tabs and alignment (like multi-line function arguments) should be done by s

Bug#355488: ITP: bcpp -- C(++) beautifier

2006-03-05 Thread Miriam Ruiz
Package: wnpp Severity: wishlist Owner: Miriam Ruiz <[EMAIL PROTECTED]> * Package name: bcpp Version : 0.0.20050725 Upstream Author : Steven De Toni <[EMAIL PROTECTED]> * URL : http://www.invisible-island.net/bcpp/ * License : BSD Description : C(++) beau