From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#24431: 25.1.50; Wrong indentation in C++ mode when calling constructors with braces Date: Tue, 13 Sep 2016 23:10:16 +0200 Message-ID: <1473801016.1281.17.camel@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1473801146 29780 195.159.176.226 (13 Sep 2016 21:12:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Sep 2016 21:12:26 +0000 (UTC) To: 24431@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 13 23:12:20 2016 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 1bjv04-0006mU-Mg for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Sep 2016 23:12:16 +0200 Original-Received: from localhost ([::1]:51623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjv02-0000gt-SQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Sep 2016 17:12:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjuzu-0000fc-2Z for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2016 17:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjuzq-0001P5-Nf for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2016 17:12:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjuzq-0001On-KH for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2016 17:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bjuzq-0003jK-C4 for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2016 17:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2016 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24431 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147380111814326 (code B ref -1); Tue, 13 Sep 2016 21:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Sep 2016 21:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:58954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjuzl-0003j0-Rh for submit@debbugs.gnu.org; Tue, 13 Sep 2016 17:11:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjuzj-0003il-TC for submit@debbugs.gnu.org; Tue, 13 Sep 2016 17:11:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjuzd-0001Di-Jd for submit@debbugs.gnu.org; Tue, 13 Sep 2016 17:11:50 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjuzd-0001Cp-H0 for submit@debbugs.gnu.org; Tue, 13 Sep 2016 17:11:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjuza-0000WF-Uj for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2016 17:11:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjuzW-000193-KU for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2016 17:11:45 -0400 Original-Received: from mail-wm0-f50.google.com ([74.125.82.50]:38307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjuzW-0000xE-DQ for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2016 17:11:42 -0400 Original-Received: by mail-wm0-f50.google.com with SMTP id 1so224105120wmz.1 for ; Tue, 13 Sep 2016 14:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=Y08oYXM+f9InF9MlTfor010qWiwf3/GQOqbNfzO8BU4=; b=nvX+zikPlu7CpgVeAtnBrHlPrUXzv7nfGnBfgEGJx1fHfx37iLBoYDPOPlimskD168 uu0uUp5VWFj5nEY0GV5qcWlXjoTROQ6qib72zfDpgjBArYGhD2lSJ5OW7Yrgls9Ee64z 0mfCfk9gL4BQWB+tXAUxAeX+pDI9AhK0Vu1RHehc3vCq16r3tyxbq0T8AExbwXci37jk tJoyjRFAS3lQYF3RiutxNfxfdviLLD1FSEtdWtl1SvDB2kdxzCpZHJJw2TEwqZL6yPiE 1cJ5mcrL81PIh23RN/r+8icA7hd6OGI9ZBqBPsW8kDiriLfgX4NztzA48cJqy5PKZB1C cXWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=Y08oYXM+f9InF9MlTfor010qWiwf3/GQOqbNfzO8BU4=; b=CSDdHvzyTH+8IXyvntmO97oazU+/2lhpiHjtLUstLzmOS/ubhCtkqsztsI0Ji3zDh/ UiOYFkJZDHVK6zexftdmuo5wV9+ApMdwvYjV5dbgM4eQi3VZryU5NPJ3rBbBJAdTnR1V XPdysYLraS2xIlXOtIRZXWeRKv5EPspWt9eKVeQxX2CrB4e46V0L+BtuWj3uVRLIalce 7wkKtiS4reyrc9aWK2i8Jqoete7BYhK2/yqS361yrfCEZy/2DPTB9xm60acKMjRFv/9x vUlH7hT+2e4Zr8MGeM7RluFsbdd7imF2KTJFCcqTiDxHrKezShIe/iuj05+qIGU0ZydN BVcw== X-Gm-Message-State: AE9vXwNsjqpiHR72gRHu+JqGFJGuVUk60L2Oz8WluqvR/g61q1xVWYvC58VfIWDBY0Iwbw== X-Received: by 10.28.21.193 with SMTP id 184mr2708915wmv.26.1473801018972; Tue, 13 Sep 2016 14:10:18 -0700 (PDT) Original-Received: from carbon ([2a01:e35:2ef1:4540:4e34:88ff:fe04:cfe5]) by smtp.gmail.com with ESMTPSA id i195sm7196692wmg.14.2016.09.13.14.10.17 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Sep 2016 14:10:18 -0700 (PDT) X-Mailer: Evolution 3.20.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:123274 Archived-At: Just type the following lines in a buffer with c++-mode enabled: struct line_t; struct point_t; void set_line(line_t); 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 In GNU Emacs 25.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9)  of 2016-08-27 built on carbon Repository revision: 1c7166a3ba399efbefc65feb8a6a41ef0dfa33a4 Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Arch Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set [2 times] next-line: End of buffer [2 times] Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD Important settings:   value of $LANG: fr_FR.UTF-8   value of $XMODIFIERS: @im=ibus   locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t   line-number-mode: t   transient-mark-mode: t   abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message cl-macs subr-x puny seq byte- opt bytecomp byte-compile cl-extra help-mode cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg- config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl gv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 119083 7504)  (symbols 48 23053 0)  (miscs 40 110 129)  (strings 32 23513 4635)  (string-bytes 1 842378)  (vectors 16 16890)  (vector-slots 8 475357 2393)  (floats 8 192 56)  (intervals 56 535 172)  (buffers 976 12))