[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5091: indentation in c++-mode
From: |
Alan Mackenzie |
Subject: |
bug#5091: indentation in c++-mode |
Date: |
Sat, 5 Dec 2009 11:33:07 +0000 |
User-agent: |
Mutt/1.5.9i |
[Reply-To: set]
Hi, Vivien,
On Tue, Dec 01, 2009 at 03:35:38PM +0100, Vivien Oddou wrote:
> in this code:
> namespace n
> {
> int a = func<int,
> float>(); // C-c C-s gives ((template-args-cont))
> }
> void f()
> {
> int a = func<int,
> float>(); // C-C Cs : ((defun-block-intro))
> int b = func<
> int, // here too, refering to f() opening brace
> float>();
> }
> this is not normal.
> emacs 23.1.1
Thanks for reporting this bug, and thanks for making it crisp and easy to
follow.
The two scenarios above aren't quite identical - the first one, in the
namespace, is treated as being at "top level". The second one is inside
a function, and hasn't been handled up to now.
Give me a few days, and I should be able to fix it.
--
Alan Mackenzie (Nuremberg, Germany).