From: Alan Mackenzie <acm@muc.de>
To: voddou@e-onsoftware.com, 5091@emacsbugs.donarmstrong.com
Cc: bug-gnu-emacs@gnu.org
Subject: bug#5091: indentation in c++-mode
Date: Sat, 5 Dec 2009 11:33:07 +0000 [thread overview]
Message-ID: <20091205113307.GC2399@muc.de> (raw)
In-Reply-To: <1259678138.22343.7.camel@imagina04.e-onsoftware.com>
[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).
next prev parent reply other threads:[~2009-12-05 11:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20091210144738.GD1504@muc.de>
2009-12-01 14:35 ` bug#5091: indentation in c++-mode Vivien Oddou
2009-12-05 11:33 ` Alan Mackenzie [this message]
2009-12-10 14:37 ` Alan Mackenzie
2009-12-14 11:33 ` Vivien Oddou
2009-12-10 14:45 ` bug#5091: marked as done (indentation in c++-mode) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091205113307.GC2399@muc.de \
--to=acm@muc.de \
--cc=5091@emacsbugs.donarmstrong.com \
--cc=bug-cc-mode@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=voddou@e-onsoftware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.