[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change of C indentation style ('{')
From: |
Martin Stjernholm |
Subject: |
Re: Change of C indentation style ('{') |
Date: |
Sat, 25 Oct 2003 16:40:29 +0200 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) |
Richard Stallman <address@hidden> wrote:
> I'm not sure what to do about it.
>
> You could perhaps undo the change.
That would also undo this improvement:
** Statements are recognized in a more robust way.
Statements are recognized most of the time even when they occur in an
"invalid" context, e.g. in a function argument. In practice that can
happen when macros are involved.
As an example, it fixes better indentation in this case:
void f() {
SOME_MACRO (
if (successful)
fprintf (stderr, "ok\n");
else
abort();
);
}
The reason these two cases are related is because the above has been
accomplished by changing the order between checks in
c-guess-basic-syntax.
- Change of C indentation style ('{'), Kenichi Handa, 2003/10/22
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/23
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/24
- Re: Change of C indentation style ('{'),
Martin Stjernholm <=
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/27
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/27
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/28
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/29
- Re: Change of C indentation style ('{'), Miles Bader, 2003/10/29
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/29
- Re: Change of C indentation style ('{'), Miles Bader, 2003/10/29
- Re: Change of C indentation style ('{'), Stefan Monnier, 2003/10/29
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/30
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/30