unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: richard <johndoe27328@gmail.com>
Cc: 32808@debbugs.gnu.org
Subject: bug#32808: 25.2; Indentation after initializer list C++
Date: 22 Sep 2018 19:51:54 -0000	[thread overview]
Message-ID: <20180922195154.44232.qmail@mail.muc.de> (raw)
In-Reply-To: <mailman.1141.1537636151.1284.bug-gnu-emacs@gnu.org>

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






  parent reply	other threads:[~2018-09-22 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-22 16:54 bug#32808: 25.2; Indentation after initializer list C++ richard
     [not found] ` <mailman.1141.1537636151.1284.bug-gnu-emacs@gnu.org>
2018-09-22 19:51   ` Alan Mackenzie [this message]
2018-09-22 20:00     ` Richard Case
2018-09-23 13:27       ` Alan Mackenzie
2018-12-07 17:45       ` Alan Mackenzie

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180922195154.44232.qmail@mail.muc.de \
    --to=acm@muc.de \
    --cc=32808@debbugs.gnu.org \
    --cc=johndoe27328@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).