bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-indent] brace-line-up feature mod for indent


From: Daniel Gryniewicz
Subject: Re: [Bug-indent] brace-line-up feature mod for indent
Date: 25 Jul 2002 10:41:17 -0400

On Wed, 2002-07-24 at 20:47, Kim Saunders wrote:
> I'm not really with you there. The indenting within the bracing is fine,
> because that's what many people want and are used to.
> 
> The immediate problem that in:
> 
> if (a)
>       {
>               foo();
>       {
> else
>       bar();
> 
> foo() and bar() are indented differently does seem inconsistent to me.
> 
> Are you wanting something like this:
> 
> void foo ()
> {
>     int bar;
> 
>     if (a)
>         {
>         bar++;
>         }
>     else
>         bar--;
> }
> 
> KimS

Yes, that's what I want.  The differently indented code is a problem
too, but not my problem as I don't use that style.  My problem is that
indent doesn't do my style at all. :(

Daniel

-- 
Recursion n.:
        See Recursion.
                        -- Random Shack Data Processing Dictionary





reply via email to

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