From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#32808: 25.2; Indentation after initializer list C++ Date: 22 Sep 2018 19:51:54 -0000 Organization: muc.de e.V. Message-ID: <20180922195154.44232.qmail@mail.muc.de> References: <87efdl5v7o.fsf@ubundoo.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1537664269 1103 195.159.176.226 (23 Sep 2018 00:57:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2018 00:57:49 +0000 (UTC) User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.2-RELEASE-p3 (amd64)) Cc: 32808@debbugs.gnu.org To: richard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 23 02:57:44 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3siV-0000DG-RD for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Sep 2018 02:57:43 +0200 Original-Received: from localhost ([::1]:37624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3skc-0006GQ-ID for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2018 20:59:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3sdT-000847-9E for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 20:52:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3sdP-0002Vj-CR for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 20:52:30 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3sdM-0002OF-DB for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 20:52:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g3nwf-0002tW-SA for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 15:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2018 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32808 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32808-submit@debbugs.gnu.org id=B32808.153764591711116 (code B ref 32808); Sat, 22 Sep 2018 19:52:01 +0000 Original-Received: (at 32808) by debbugs.gnu.org; 22 Sep 2018 19:51:57 +0000 Original-Received: from localhost ([127.0.0.1]:49892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3nwa-0002tE-VW for submit@debbugs.gnu.org; Sat, 22 Sep 2018 15:51:57 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:21330 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1g3nwZ-0002t6-CJ for 32808@debbugs.gnu.org; Sat, 22 Sep 2018 15:51:56 -0400 Original-Received: (qmail 44233 invoked by uid 3782); 22 Sep 2018 19:51:54 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150557 Archived-At: Hello, Richard. In article you wrote: > While creating a constructor for my class, I have a multiline > initializer list. For the constructor, the indentation matches that of > the list. Here's an example: > Test::Test(const std::string &a) : a{a}, b{0}, > c{"..."}, d{""} { > /*notice the indentation*/ } Would you please be explicit about what is wrong with the indentation. Is it the position of the closing brace on line 3, or the indentation of "c{" on line 2, or something else? Thanks! [ .... ] -- Alan Mackenzie (Nuremberg, Germany).