[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [address@hidden: bizarre indentation behaviour (nonurgent)]
From: |
Martin Stjernholm |
Subject: |
Re: [address@hidden: bizarre indentation behaviour (nonurgent)] |
Date: |
22 Sep 2002 14:34:50 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Richard Stallman <rms@gnu.org> wrote:
/.../
> From: Edward Welbourne <eddy@opera.no>
> Subject: bizarre indentation behaviour (nonurgent)
> To: bug-gnu-emacs@gnu.org
> Date: Mon Sep 16 13:09:25 2002 +0200
> Reply-to: eddy@opera.no
/.../
> In a C++ buffer, insert: <code>
>
> class Foo {
> const int a, b, c;
> public:
> Foo(int u, int v, int w)
> : a(u),
> b(v),
> c(w) {}
> };
>
> </code> and indent it all suitably for your C++ settings (e.g. run
> M-x indent-region on it).
>
> Now, position your cursor *on* the comma following b(v).
> Hit tab and watch that line dedent itself.
> Position the cursor anywhere else on the line, tab will put it back as
> above. /.../
The lineup function c-lineup-multi-inher used the current point as the
start position instead of the beginning of the line. Fixed now, thank
you.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [address@hidden: bizarre indentation behaviour (nonurgent)],
Martin Stjernholm <=