From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue. Date: Sat, 13 Feb 2010 02:37:42 -0500 Message-ID: <87pr494md5.fsf@stupidchicken.com> References: <000301caac36$0fc0b760$2f422620$@net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266047599 11419 80.91.229.12 (13 Feb 2010 07:53:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2010 07:53:19 +0000 (UTC) Cc: 5570@debbugs.gnu.org, Bob To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 13 08:53:13 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 1NgCoP-0006ZA-AU for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Feb 2010 08:53:09 +0100 Original-Received: from localhost ([127.0.0.1]:43628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgCoO-0002XD-Rj for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Feb 2010 02:53:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgCnw-0002Kc-5u for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 02:52:40 -0500 Original-Received: from [140.186.70.92] (port=35968 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgCnu-0002KD-NF for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 02:52:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgCnr-0002g0-Sc for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 02:52:38 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56428) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgCnr-0002fw-Pc for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 02:52:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NgCZm-0003fB-3B; Sat, 13 Feb 2010 02:38:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Feb 2010 07:38:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5570 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5570-submit@debbugs.gnu.org id=B5570.126604666914071 (code B ref 5570); Sat, 13 Feb 2010 07:38:02 +0000 Original-Received: (at 5570) by debbugs.gnu.org; 13 Feb 2010 07:37:49 +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 1NgCZZ-0003et-0o for submit@debbugs.gnu.org; Sat, 13 Feb 2010 02:37:49 -0500 Original-Received: from pantheon-po35.its.yale.edu ([130.132.50.83]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgCZX-0003el-HL for 5570@debbugs.gnu.org; Sat, 13 Feb 2010 02:37:48 -0500 Original-Received: from furry (bb121-6-236-4.singnet.com.sg [121.6.236.4]) (authenticated bits=0) by pantheon-po35.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1D7bh3O013371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 13 Feb 2010 02:37:45 -0500 Original-Received: by furry (Postfix, from userid 1000) id 2EB64C05D; Sat, 13 Feb 2010 02:37:42 -0500 (EST) In-Reply-To: <000301caac36$0fc0b760$2f422620$@net> (Bob's message of "Fri, 12 Feb 2010 14:52:31 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 13 Feb 2010 02:38:02 -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:35081 Archived-At: Hi Alan, Looks like this is related to Bug#5490. WDYT? "Bob" writes: > As I work with text in C++ mode the indentation begins to deteriorate. For > example, TAB on the class line wrongly indents it: > > template > class Build > > I work-around the problem by writing the buffer, killing the buffer, then > visiting the file and re-indenting with TAB on the class line to get the > expected indentation: > > template > class Build > > Same thing happens with ESC C-q. > > My impression is there is internal state which doesn't get cleared as I work > the text toward a syntax correct unit, causing incorrect indentation. The bad > state is ultimately cleared by re-visiting the file. > > Sorry I can't come up with something reproducible. > > Has anyone else seen this issue?