From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Case Newsgroups: gmane.emacs.bugs Subject: bug#32808: 25.2; Indentation after initializer list C++ Date: Sat, 22 Sep 2018 15:00:02 -0500 Message-ID: References: <20180922195154.44232.qmail@mail.muc.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000cc497705767b33cf" X-Trace: blaine.gmane.org 1537664249 32277 195.159.176.226 (23 Sep 2018 00:57:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2018 00:57:29 +0000 (UTC) Cc: 32808@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 23 02:57:24 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 1g3siA-0008Fa-Fm for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Sep 2018 02:57:22 +0200 Original-Received: from localhost ([::1]:37540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3skH-0005wV-6m for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2018 20:59:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3sYo-0001kc-US for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 20:47:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3rhL-0006OZ-EX for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 19:52:30 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3rhL-0006OA-74 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 19:52:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g3o5O-00038X-B7 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 16:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Case Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2018 20:01:02 +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.153764641311973 (code B ref 32808); Sat, 22 Sep 2018 20:01:02 +0000 Original-Received: (at 32808) by debbugs.gnu.org; 22 Sep 2018 20:00:13 +0000 Original-Received: from localhost ([127.0.0.1]:49908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3o4b-000372-2m for submit@debbugs.gnu.org; Sat, 22 Sep 2018 16:00:13 -0400 Original-Received: from mail-yb1-f170.google.com ([209.85.219.170]:35677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3o4Z-00035x-Ct for 32808@debbugs.gnu.org; Sat, 22 Sep 2018 16:00:12 -0400 Original-Received: by mail-yb1-f170.google.com with SMTP id o63-v6so6835729yba.2 for <32808@debbugs.gnu.org>; Sat, 22 Sep 2018 13:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kVqgq+s2TLll5cDLzkZUGcH7zciZFXvbX/+xl3E+c80=; b=JRIXqMt9Qt3SXXgHYsVTPpb8Hbc2X9xyJ5D1Zp9fdbnQMWx/aJdVN5B5bFat2o8Qa4 sH2N4RiHXnr8s3Jg5YYMRkgJe9ztDjpwlOSY0fe3lVLlcq0ZSa+JVYDj2EDgo5SBoz5Z a3ixrDzd7RWoq/JjWs0nyT1FHycwr9mFOi+vSstvtIKWdyvUI+W2xYZZiwOW77N82NOi /Ce/ow3ZXUxUZ2jPLxezJ0xNMWcz58E571Yqxg3oJPUKIUp5o2Pl6KFldTEZ4hj58b1O bIlBe9GadstkrZINrATX48ZFKdy27cdBuI6NJKEBAxRV1FBN+1rGlWBqDt9Wga3MOzWH hVtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kVqgq+s2TLll5cDLzkZUGcH7zciZFXvbX/+xl3E+c80=; b=ngPaMPZ3e+7BC3RxCU4JF3jeaIwoFJn4G+K82oQNmApjgl2/Saul/ZSUkpWIQ8lvJH uB25eglCnHhmxcwXcIV4g6fuo30OmCiA/bEPrGfV1GEuZfdC5q543l0HM1HQkI18dark OvLhWhCe1maaoG0FTOonlLCnew5a+rTndnIsYugU2bORbsfKesqZeSAppY+kl3hQBo2d +AzybrFvXx7LoQ+PIkbHYaTZ5qSCA8Oi6t5m4mD98uDPDGOJsd6y9xeH8O3L07O80FzP i+IKS+O6gWfUOnhXtA0oiPD03C4nf3C0RqBmz/diMKTm5T/+a2ZTwAe5OnHhom5oYV03 JQ3Q== X-Gm-Message-State: ABuFfogGzTEyyh7QdO/DALTWtdldp1+cWf/WBeF9P1n/SUK4SgBSfk9U 9LJ0ZOr+/CaeDlMniKEkqt4JnjRp7zE3sB/akLYa6g== X-Google-Smtp-Source: ACcGV63faSWXpdQdCwaiYG0oyhFPEoFka0J4fvkwZcylWKzb/XFqtqdv4U/EHxg1jF8fFmIaMoL+m2Wk715IAKFrIZI= X-Received: by 2002:a25:b225:: with SMTP id i37-v6mr1344974ybj.142.1537646405632; Sat, 22 Sep 2018 13:00:05 -0700 (PDT) In-Reply-To: <20180922195154.44232.qmail@mail.muc.de> 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:150556 Archived-At: --000000000000cc497705767b33cf Content-Type: text/plain; charset="UTF-8" Hello Alan, It is the position of the closing brace on the third line. Thank you. On Sat, Sep 22, 2018, 2:51 PM Alan Mackenzie wrote: > 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). > > --000000000000cc497705767b33cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Alan,

= It is the position of the closing brace on the third line.=C2=A0

Thank you.=C2=A0

On Sat, Sep 22, 2018, 2:51 PM Ala= n Mackenzie <acm@muc.de> wrote:
=
Hello, Richard.

In article <mailman.1141.1537636151.1284= .bug-gnu-emacs@gnu.org> 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},
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 c{"..."},= d{""} {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*notice = the indentation*/=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 }

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).

--000000000000cc497705767b33cf--