all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Oliver Fernandes <Oliver.Fernandes@visus.uni-stuttgart.de>
Cc: 20963@debbugs.gnu.org
Subject: bug#20963: C++ mode indentation of initializers
Date: Thu, 27 May 2021 01:12:53 +0200	[thread overview]
Message-ID: <87cztd6qdm.fsf@gnus.org> (raw)
In-Reply-To: <1435838558051.36914@visus.uni-stuttgart.de> (Oliver Fernandes's message of "Thu, 2 Jul 2015 12:03:05 +0000")

Oliver Fernandes <Oliver.Fernandes@visus.uni-stuttgart.de> writes:

> This happens:
> SomeBase::SomeDerived::SomeFunction(const std::vector< int >& in_somevector, 
>                                     const std::vector< int >& in_someothervector, 
>                                     const glm::vec3 in_aglmvector,
>                                     const glm::vec3 in_someotherglmvector,
>                                     const int in_someint,
>                                     const int in_someotherint,
>                                     const float in_somefloat,
>                                     std::vector< int >& in_someints)
> : somevector(in_somevector)
>                                                          , someint(in_someint) {
> }
> ----------------------------------------------------
> This is expected:
> SomeBase::SomeDerived::SomeFunction(const std::vector< int >& in_somevector, 
>                                     const std::vector< int >& in_someothervector, 
>                                     const glm::vec3 in_aglmvector,
>                                     const glm::vec3 in_someotherglmvector,
>                                     const int in_someint,
>                                     const int in_someotherint,
>                                     const float in_somefloat,
>                                     std::vector< int >& in_someints)
>   : somevector(in_somevector)
>   , someint(in_someint) {
> }

(I'm going through old bug reports that unfortunately got no response at
the time.)

I'm unable to reproduce the problem in Emacs 28 (i.e., it indents the
way you were expecting now), so I'm going to go ahead and guess that
this has been fixed in the years since it was reported, and I'm closing
this bug report.  If this is still a problem, please respond to the
debbugs address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2021-05-26 23:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02 12:03 bug#20963: C++ mode indentation of initializers Oliver Fernandes
2021-05-26 23:12 ` Lars Ingebrigtsen [this message]

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=87cztd6qdm.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=20963@debbugs.gnu.org \
    --cc=Oliver.Fernandes@visus.uni-stuttgart.de \
    /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.