Subject: Re: bug#2927: C++ indentation bug

From: Alan Mackenzie <[email-masked]>
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 <[email-masked]>:
> > 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).