From unknown Sat Jun 21 10:39:01 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2927: C++ indentation bug Reply-To: Davin Pearson , 2927@debbugs.gnu.org Resent-From: Davin Pearson Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Apr 2009 03:10:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2927 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12391598103493 (code B ref -1); Wed, 08 Apr 2009 03:10:07 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Apr 2009 03:03:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,GMAIL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3833QZP003487 for ; Tue, 7 Apr 2009 20:03:28 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrO4U-0001y9-LT for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 23:03:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrO4P-0001xc-4V for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 23:03:25 -0400 Received: from [199.232.76.173] (port=41983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrO4P-0001xV-12 for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 23:03:21 -0400 Received: from ti-out-0910.google.com ([209.85.142.191]:58658) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrO4O-0005iw-6P for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 23:03:20 -0400 Received: by ti-out-0910.google.com with SMTP id y8so2360555tia.10 for ; Tue, 07 Apr 2009 20:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9+aoNcGx4vnxUpPJNxLt0FNjCC7t1RaHGO2cVDemF8w=; b=VO4aR3d8mpcylZ6X1r/yee5npnhAStg67pMEnuyqmuqcJQMp8i6rc+QBLFpMxPBLmN p0G/6BfuoJAp7/kM8Qle/Dwe/afrXmWCKiJivElJSoT6WtI2ziFC3Vfj9667uvyFfAQX qhgBfG5EQZD3kHFzGldl9sXCOt5nT0shveRiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=mnbxyXp0v4SGt1yACDUUG2lnMqbP5ljYLP1RJRVkal35Z7xGDrJDd3rZdIPz/m9Ves 7nFIgOWrceZLmuMt+6S0UNYIal52t5FJnbf0eqAKZVpLrFqIKKL1dY2bri5VnWCLN0ij thC8jPE3FPYtKDw14qNRncOwxsnZXsCedD10s= MIME-Version: 1.0 Received: by 10.110.2.2 with SMTP id 2mr1073338tib.29.1239159795558; Tue, 07 Apr 2009 20:03:15 -0700 (PDT) In-Reply-To: <8d7d1e6d0904072000x6b3399fcu26d2e076a6fbf4dd@mail.gmail.com> References: <8d7d1e6d0904072000x6b3399fcu26d2e076a6fbf4dd@mail.gmail.com> Date: Wed, 8 Apr 2009 15:03:15 +1200 Message-ID: <8d7d1e6d0904072003l7cc1ac0bx1084c1d99b6cb8e0@mail.gmail.com> From: Davin Pearson To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Please ignore the previously sent bug report (see below) as the bug mysteriously vanished, leaving me with no bug. 2009/4/8 Davin Pearson : > The following code does not indent correctly. =A0Note that > the line that says std::cout has the wrong indentation. > > int main() > { > =A0 int j =3D static_cast(f); > std::cout << "j=3D" << j << '\n'; > } > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > =A0 =A0`bt full' and `xbacktrace'. > If you would like to further debug the crash, please read the file > d:/Program Files/emacs-22.2/etc/DEBUG for instructions. > > > In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) > =A0of 2008-03-27 on RELEASE > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4)' > > Important settings: > =A0value of $LC_ALL: nil > =A0value of $LC_COLLATE: nil > =A0value of $LC_CTYPE: nil > =A0value of $LC_MESSAGES: nil > =A0value of $LC_MONETARY: nil > =A0value of $LC_NUMERIC: nil > =A0value of $LC_TIME: nil > =A0value of $LANG: ENZ > =A0locale-coding-system: cp1252 > =A0default-enable-multibyte-characters: t > > Major mode: C++/l > > Minor modes in effect: > =A0recentf-mode: t > =A0tabbar-mode: t > =A0display-time-mode: t > =A0show-paren-mode: t > =A0encoded-kbd-mode: t > =A0tooltip-mode: t > =A0tool-bar-mode: t > =A0mouse-wheel-mode: t > =A0menu-bar-mode: t > =A0file-name-shadow-mode: t > =A0global-font-lock-mode: t > =A0font-lock-mode: t > =A0blink-cursor-mode: t > =A0unify-8859-on-encoding-mode: t > =A0utf-translate-cjk-mode: t > =A0auto-compression-mode: t > =A0column-number-mode: t > =A0line-number-mode: t > =A0abbrev-mode: t > > Recent input: > > ( > C-y C-k C-k C-k > C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k > C-k C-k C-k C-k C-k > > > > > > > C-k C-k C-k C-k C-k C-k > > C-k > C-k C-k > > C-k > > > / > / / / > > / / / / > > > C-k C-k C-k > > > > > > > M-x r e p o r t e > > > Recent messages: > Copied buffer to clipboard > Mark set [2 times] > ad-Orig-kill-line: End of buffer [6 times] > Mark set > Auto-saving...done > Undo! [8 times] > Saving some buffers > Wrote d:/home/3-libd/2006/libd/tests/t-125-emacs-bug.cc > Wrote d:/home/3-libd/2006/libd/tests/t-124-enum.cc > Loading emacsbug...done > > > -- > Sincerely and kindest regards, Davin. > Davin Pearson =A0 =A0http://www.davinpearson.com > --=20 Sincerely and kindest regards, Davin. Davin Pearson http://www.davinpearson.com From rgm@gnu.org Tue Apr 7 23:53:02 2009 Received: (at control) by emacsbugs.donarmstrong.com; 8 Apr 2009 06:53:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n386qxBg004855 for ; Tue, 7 Apr 2009 23:53:00 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LrReb-0003eD-V3; Wed, 08 Apr 2009 02:52:57 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18908.18889.886152.122253@fencepost.gnu.org> Date: Wed, 8 Apr 2009 02:52:57 -0400 From: Glenn Morris To: control Subject: control message reassign 2915 spam reassign 2916 spam reassign 2918 emacs,cc-mode merge 2920 2922 reassign 2921 spam reassign 2922 spam reassign 2923 spam reassign 2924 spam reassign 2925 spam merge 2926 2927 close 2926 From unknown Sat Jun 21 10:39:01 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2927: C++ indentation bug Reply-To: Alan Mackenzie , 2927@debbugs.gnu.org Resent-From: Alan Mackenzie Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Apr 2009 08:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2927 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12391800563741 (code B ref -1); Wed, 08 Apr 2009 08:50:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Apr 2009 08:40:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=FOURLA,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n388ens2003729 for ; Wed, 8 Apr 2009 01:40:50 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrTKy-000258-WF for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 04:40:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrTKt-00021P-AW for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 04:40:47 -0400 Received: from [199.232.76.173] (port=40594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrTKt-00021H-1z for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 04:40:43 -0400 Received: from colin.muc.de ([193.149.48.1]:2731 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrTKs-0001V9-HQ for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 04:40:42 -0400 Received: (qmail 4489 invoked by uid 3782); 8 Apr 2009 08:40:40 -0000 Received: from acm.muc.de (pD9E5372E.dip.t-dialin.net [217.229.55.46]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 08 Apr 2009 10:40:38 +0200 Received: (qmail 2475 invoked by uid 1000); 8 Apr 2009 08:40:20 -0000 Date: Wed, 8 Apr 2009 08:40:20 +0000 To: Davin Pearson , 2927@debbugs.gnu.org Cc: bug-gnu-emacs@gnu.org Message-ID: <20090408084020.GB1066@muc.de> References: <8d7d1e6d0904072000x6b3399fcu26d2e076a6fbf4dd@mail.gmail.com> <8d7d1e6d0904072003l7cc1ac0bx1084c1d99b6cb8e0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8d7d1e6d0904072003l7cc1ac0bx1084c1d99b6cb8e0@mail.gmail.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-CrossAssassin-Score: 2 Hi, David! On Wed, Apr 08, 2009 at 03:03:15PM +1200, Davin Pearson wrote: > Please ignore the previously sent bug report (see below) as the bug > mysteriously vanished, leaving me with no bug. Don't worry - as soon as we've ignore it, it'll come back again. ;-) Just as an aside, for this type of bug a dump of CC Mode's configuration is VERY useful. You generate this with C-c C-b. > 2009/4/8 Davin Pearson : > > The following code does not indent correctly.  Note that > > the line that says std::cout has the wrong indentation. > > int main() > > { > >   int j = static_cast(f); > > std::cout << "j=" << j << '\n'; > > } [ ..... ] > -- > Sincerely and kindest regards, Davin. > Davin Pearson http://www.davinpearson.com -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 25 20:02:24 2010 Received: (at control) by debbugs.gnu.org; 26 Jan 2010 01:02:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZZp2-0002jp-53 for submit@debbugs.gnu.org; Mon, 25 Jan 2010 20:02:24 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZZp0-0002ji-8z for control@debbugs.gnu.org; Mon, 25 Jan 2010 20:02:22 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZZow-00069Z-Lg; Mon, 25 Jan 2010 20:02:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19294.16154.555815.130363@fencepost.gnu.org> Date: Mon, 25 Jan 2010 20:02:18 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: 6?%eSNt List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) unarchive 2926 unmerge 2926