From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue. Date: Tue, 23 Feb 2010 15:28:08 +0200 Message-ID: <201002231528.09081.pogonyshev@gmx.net> References: <000301caac36$0fc0b760$2f422620$@net> <873a0ujlba.fsf@stupidchicken.com> <201002221733.15359.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1266933234 28622 80.91.229.12 (23 Feb 2010 13:53:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2010 13:53:54 +0000 (UTC) Cc: 5570@debbugs.gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 14:53:50 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NjvCv-0002n1-7g for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 14:53:49 +0100 Original-Received: from localhost ([127.0.0.1]:45936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjvCu-0005cd-QE for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 08:53:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjvCT-0005To-8j for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2010 08:53:21 -0500 Original-Received: from [140.186.70.92] (port=49739 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjvCS-0005T9-9Q for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2010 08:53:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjvCQ-0005Bd-At for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2010 08:53:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56376) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjvCQ-0005BZ-9G for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2010 08:53:18 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Njupv-0001Ut-Jy; Tue, 23 Feb 2010 08:30:04 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Feb 2010 13:30:03 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5570 X-Emacs-PR-Package: emacs,cc-mode X-Emacs-PR-Keywords: Original-Received: via spool by 5570-submit@debbugs.gnu.org id=B5570.12669317825727 (code B ref 5570); Tue, 23 Feb 2010 13:30:03 +0000 Original-Received: (at 5570) by debbugs.gnu.org; 23 Feb 2010 13:29:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjupZ-0001UJ-A6 for submit@debbugs.gnu.org; Tue, 23 Feb 2010 08:29:41 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NjupV-0001U8-Lr for 5570@debbugs.gnu.org; Tue, 23 Feb 2010 08:29:40 -0500 Original-Received: (qmail invoked by alias); 23 Feb 2010 13:29:29 -0000 Original-Received: from unknown (EHLO gonzo.localnet) [91.149.173.2] by mail.gmx.net (mp050) with SMTP; 23 Feb 2010 14:29:29 +0100 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX1/aUawBLOTa8QyfU/1E5WooNzKyI5p5HSqECaACMm rvFVa13oqquFnI User-Agent: KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; ) In-Reply-To: <201002221733.15359.pogonyshev@gmx.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67000000000000004 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 23 Feb 2010 08:30:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35246 gmane.emacs.devel:121293 Archived-At: 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 using namespace engine; using namespace std; int MaterialEvaluationFunction::do_evaluate_material (Board::PackedMaterialData material) { 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'. Paul