From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#18970: 24.3; indent region fails in C++ mode after adding a #include Date: 6 Nov 2014 11:54:29 -0000 Organization: muc.de e.V. Message-ID: <20141106115429.80515.qmail@mail.muc.de> References: <545AEE8A.6090906@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1415274928 560 80.91.229.3 (6 Nov 2014 11:55:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 11:55:28 +0000 (UTC) Cc: 18970@debbugs.gnu.org To: Piotr Sipika Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 06 12:55:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmLeq-0000og-QP for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 12:55:20 +0100 Original-Received: from localhost ([::1]:52281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmLeq-0001rT-I0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 06:55:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmLej-0001rN-9l for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 06:55:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmLee-0000Nz-Ra for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 06:55:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmLeZ-00008c-FZ; Thu, 06 Nov 2014 06:55:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XmLeY-0004hn-OJ; Thu, 06 Nov 2014 06:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 06 Nov 2014 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18970 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 18970-submit@debbugs.gnu.org id=B18970.141527487318041 (code B ref 18970); Thu, 06 Nov 2014 11:55:02 +0000 Original-Received: (at 18970) by debbugs.gnu.org; 6 Nov 2014 11:54:33 +0000 Original-Received: from localhost ([127.0.0.1]:51157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmLe5-0004gv-64 for submit@debbugs.gnu.org; Thu, 06 Nov 2014 06:54:33 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:13490 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmLe2-0004gi-RK for 18970@debbugs.gnu.org; Thu, 06 Nov 2014 06:54:31 -0500 Original-Received: (qmail 80516 invoked by uid 3782); 6 Nov 2014 11:54:29 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/8.4-RELEASE (amd64)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95607 Hello, Piotr. In article you wrote: > 1. Edited a C++ header file in a buffer. > 2. Switched to another buffer. > 3. Went back to buffer in #1, above. > 4. Added a #include to the top of the buffer. > 5. Indentation for all code blocks following the include, when using > TAB, resets to line 0. This bug will be dependent on the exact contents of the file, or at least the first few hundred or thousand bytes in it. Is there any chance you could post the file as it was just before you edited it in step 1., and say exactly what keys you used for 1. - 4.? Thanks! > In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) > of 2014-03-07 on lamiak, modified by Debian > Windowing system distributor `The X.Org Foundation', version 11.0.11501000 > System Description: Ubuntu 14.04.1 LTS [ ... ] -- Alan Mackenzie (Nuremberg, Germany).