From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Tobias_Schl=FCter?= Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.bugs Subject: Re: bug#4187: Bug with indentation / parens matching in C++-mode Date: Tue, 22 Sep 2009 10:51:28 +0200 Message-ID: <4AB89010.70904@physik.uni-muenchen.de> References: <20090818120421.D52BD58182@zuppc13.physik.uni-muenchen.de> <20090821145654.GA1897@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253824543 18298 80.91.229.12 (24 Sep 2009 20:35:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2009 20:35:43 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 4187@emacsbugs.donarmstrong.com, tobi@schlueters.de To: bug-cc-mode@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Thu Sep 24 22:35:35 2009 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mqv2H-0000bu-WD for sf-cc-mode-help@m.gmane.org; Thu, 24 Sep 2009 22:35:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by 235xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Mqv23-0004Wa-R9; Thu, 24 Sep 2009 20:35:15 +0000 Original-Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123] helo=mx.sourceforge.net) by 235xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Mq1vl-0003GO-SK for cc-mode-help@lists.sourceforge.net; Tue, 22 Sep 2009 09:45:05 +0000 Received-SPF: softfail (3b2kzd1.ch3.sourceforge.com: transitioning domain of physik.uni-muenchen.de does not designate 140.186.70.10 as permitted sender) client-ip=140.186.70.10; envelope-from=tobias.schlueter@physik.uni-muenchen.de; helo=fencepost.gnu.org; Original-Received: from fencepost.gnu.org ([140.186.70.10]) by 3b2kzd1.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1Mq1vf-0007dK-EP for cc-mode-help@lists.sourceforge.net; Tue, 22 Sep 2009 09:45:05 +0000 Original-Received: from mail.gnu.org ([199.232.76.166]:52824 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mq162-0006Xq-C7 for bug-cc-mode@gnu.org; Tue, 22 Sep 2009 04:51:38 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mq15z-0001F1-8g for bug-cc-mode@gnu.org; Tue, 22 Sep 2009 04:51:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.0 Original-Received: from mail.physik.uni-muenchen.de ([192.54.42.129]:36155) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mq15y-0001EH-KB; Tue, 22 Sep 2009 04:51:34 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 14D8B27E01; Tue, 22 Sep 2009 10:51:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at physik.uni-muenchen.de Original-Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZhK5EXZ6U1Ib; Tue, 22 Sep 2009 10:51:31 +0200 (CEST) Original-Received: from 0017f2e907a6.dfn.mwn.de (0017f2e907a6.dfn.mwn.de [138.246.18.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id EAC9427DFB; Tue, 22 Sep 2009 10:51:30 +0200 (CEST) User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) In-Reply-To: <20090821145654.GA1897@muc.de> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Spam-Score: -3.3 (---) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -4.0 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [140.186.70.10 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 AWL AWL: From: address is in the auto white-list X-Headers-End: 1Mq1vf-0007dK-EP X-Mailman-Approved-At: Thu, 24 Sep 2009 20:35:14 +0000 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:5330 gmane.emacs.bugs:31472 Archived-At: Hi, sorry for not getting back to you earlier, and thank you very much for = the detailed reply. Alan Mackenzie wrote: > Hi, Tobias! > = > On Tue, Aug 18, 2009 at 02:04:21PM +0200, Tobias.Schlueter wrote: > = >> In GNU Emacs 21.4.1 (i686-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) >> of 2008-01-04 on norob.fnal.gov > = > OK, Emacs 21.4. That's very old. Whoops, yes, of course, everything works as expected with a newer = version. Hence I don't think it's worth wasting your time with a = detailed answer. Just for the record, I'm perfectly happy with GNU-style indentation, and = my old version of cc-mode failed to do this for the example I quoted = again below, maybe it's something for the cc-mode testsuite, if = something like that exists. >> { >> do { >> } while (fabs(chi2 - oldChi2) > 0 >> && count < iterMax); >> x=3D 1; >> } > = Cheers, - Tobias Schl=FCter ---------------------------------------------------------------------------= --- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay = ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf