GNU bug report logs - #24431
25.1.50; Wrong indentation in C++ mode when calling constructors with braces

Previous Next

Packages: emacs, cc-mode;

Reported by: Matthias Meulien <orontee <at> gmail.com>

Date: Tue, 13 Sep 2016 21:12:02 UTC

Severity: normal

Found in version 25.1.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Matthias Meulien <orontee <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 24431 <at> debbugs.gnu.org
Subject: bug#24431: 25.1.50;	Wrong indentation in C++ mode when calling constructors with braces
Date: Thu, 15 Sep 2016 14:09:24 +0200
[Message part 1 (text/plain, inline)]
Hi Alan,

Sorry, my report lacks of precision.

> > set_line(line_t(point_t(0.4, 0.2),
> >                 point_t(0.2, 0.5)));
> 
> > 
> > set_line(line_t{point_t{0.4, 0.2},
> >       point_t{0.2, 0.5}}); // wrong identation
> 
> > What, exactly, is wrong about that indentation?  What would you like
to see there, and why?

I am expecting to see the same indentation whatever I'm using, brackets
or parenthesis; That is:

set_line(line_t{point_t{0.4, 0.2},
                point_t{0.2, 0.5}});
> 
-- 
Matthias
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.