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: Sun, 14 Feb 2010 00:09:39 -0500 Message-ID: <876360s8rw.fsf@stupidchicken.com> References: <000301caac36$0fc0b760$2f422620$@net> <87pr494md5.fsf@stupidchicken.com> <000e01caad1e$dcbfc560$963f5020$@net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266124979 10484 80.91.229.12 (14 Feb 2010 05:22:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2010 05:22:59 +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 Sun Feb 14 06:22:56 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 1NgWwY-0004n1-Kc for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Feb 2010 06:22:54 +0100 Original-Received: from localhost ([127.0.0.1]:60525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgWwX-0006PW-UK for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Feb 2010 00:22:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgWwL-0006KH-Ro for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2010 00:22:41 -0500 Original-Received: from [140.186.70.92] (port=58202 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgWwJ-0006Jb-Om for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2010 00:22:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgWwH-0005H4-Uv for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2010 00:22:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60133) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgWwG-0005H0-RP for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2010 00:22:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NgWk7-0003Mb-2r; Sun, 14 Feb 2010 00:10:03 -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: Sun, 14 Feb 2010 05:10:02 +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.126612418912910 (code B ref 5570); Sun, 14 Feb 2010 05:10:02 +0000 Original-Received: (at 5570) by debbugs.gnu.org; 14 Feb 2010 05:09: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 1NgWjt-0003MB-26 for submit@debbugs.gnu.org; Sun, 14 Feb 2010 00:09:49 -0500 Original-Received: from pantheon-po33.its.yale.edu ([130.132.50.94]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgWjq-0003M2-S1 for 5570@debbugs.gnu.org; Sun, 14 Feb 2010 00:09:47 -0500 Original-Received: from furry (bb116-15-9-83.singnet.com.sg [116.15.9.83]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1E59eYn027019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 14 Feb 2010 00:09:42 -0500 Original-Received: by furry (Postfix, from userid 1000) id 63990C05D; Sun, 14 Feb 2010 00:09:39 -0500 (EST) In-Reply-To: <000e01caad1e$dcbfc560$963f5020$@net> (Bob's message of "Sat, 13 Feb 2010 18:38:58 -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: Sun, 14 Feb 2010 00:10: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:35104 Archived-At: Forwarding an email with pertinent info to the bug tracker, and to Alan the CC-mode maintainer: "Bob" writes: > Yes, it does look related to 5490. I can respond to: > >> (i) Have you ever noticed this bug happening on earlier Emacsen, in >> particular Emacs 23.1? > > Yes, it happened in 23.1 also. > >> (ii) Does this bug happen every time you use Emacs this long, or only >> sometimes? > > For me it happens within minutes of use. My C++ files are HEAVILY templated > and the issue appears to be related to '<' and '>' of template args, e.g. > > typedef IF< > MemberOf::value, > IF< > Length::value, > true, > false > >::Result, > false > >::Result Result; > > I will have several of these, one after the other, and be editing > them. By accident I'll leave out a ',' or a '>' or kill & yank lines > with similar error. After minutes of such editing, the indentation > gets wacked. Sometimes by TAB indentation on a prior line the problem > corrects. Sometimes I have to write the buffer and re-visit it. > >>(iv) Are all C(++) buffers in this state, or only some? Any correlation >> with how many edits have been done on a buffer, or how long it's been >> loaded? > > Just the buffer with the '<' and '>' in it.