[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#5570: Emacs C++ mode "ESC C-q" and TAB indenting issue

From: Paul Pogonyshev
Subject: Re: bug#5570: Emacs C++ mode "ESC C-q" and TAB indenting issue.
Date: Tue, 23 Feb 2010 15:28:08 +0200
User-agent: KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; )

I wrote:
> Thanks, indentation problems seem to be gone.  Or at least don't
> happen nearly that often.

Still happens, though much more rarely than before.  No sure way to
reproduce, but in this short source code file:

#include "engine/strategy/evaluation/material.hpp"

#include <utility>

using namespace engine;

using namespace std;

MaterialEvaluationFunction::do_evaluate_material (Board::PackedMaterialData 
  const int  score            = _algorithm->evaluate (material);
  const int  normalized_score = ((score * get_first_rabbit_value ())
                                 / _algorithm->get_first_rabbit_value ());

_cache.insert (make_pair (material, normalized_score));

I'm getting wrongly indented '_cache.insert ...' line.  C-c C-s on it
also shows 'topmost-intro'.  I guess this heavily depends on the order
in which code is typed.

After I killed the buffer and reopened it, indentation is back to
normal and C-c C-s on that line correctly shows 'statement'.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]