GNU bug report logs - #2927
C++ indentation bug

Previous Next

Package: emacs;

Reported by: Davin Pearson <davin.pearson <at> gmail.com>

Date: Wed, 8 Apr 2009 03:10:07 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #14 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Davin Pearson <davin.pearson <at> gmail.com>, 2927 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#2927: C++ indentation bug
Date: Wed, 8 Apr 2009 08:40:20 +0000
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 <davin.pearson <at> gmail.com>:
> > 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<int>(f);
> > std::cout << "j=" << j << '\n';
> > }

[ ..... ]

> -- 
> Sincerely and kindest regards, Davin.
> Davin Pearson    http://www.davinpearson.com

-- 
Alan Mackenzie (Nuremberg, Germany).





This bug report was last modified 15 years and 121 days ago.

Previous Next


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