GNU bug report logs - #4187
Bug with indentation / parens matching in C++-mode

Previous Next

Packages: emacs21, cc-mode;

Reported by: "Tobias.Schlueter" <Tobias.Schlueter <at> zuppc13.physik.uni-muenchen.de>

Date: Thu, 20 Aug 2009 19:41:45 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tobias Schlüter
 <tobias.schlueter <at> physik.uni-muenchen.de>
To: bug-cc-mode <at> gnu.org
Cc: 4187 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, tobi <at> schlueters.de
Subject: bug#4187: Bug with indentation / parens matching in C++-mode
Date: Tue, 22 Sep 2009 10:51:28 +0200
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= 1;
>> }
> 

Cheers,
- Tobias Schlüter



This bug report was last modified 14 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.