From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#5490: 23.1.91; CC Mode, after a while, everything is topmost-intro. Date: Fri, 26 Feb 2010 12:58:17 +0000 Message-ID: <20100226125817.GA1137@muc.de> References: <20100129112201.GA3793@muc.de> <4B7158EF.6030009@swipnet.se> <20100209204008.GB2921@muc.de> <4B8516E9.40203@swipnet.se> <874ol6qgf9.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267188814 18774 80.91.229.12 (26 Feb 2010 12:53:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2010 12:53:34 +0000 (UTC) Cc: 5490@debbugs.gnu.org, emacs-devel@gnu.org To: Miles Bader Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 13:53:30 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 1NkzhA-00074P-JI for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2010 13:53:28 +0100 Original-Received: from localhost ([127.0.0.1]:46076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkzhA-0004Gt-3U for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2010 07:53:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nkzh5-0004FM-US for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 07:53:23 -0500 Original-Received: from [140.186.70.92] (port=56808 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nkzh4-0004EJ-PG for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 07:53:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nkzh1-0006U9-TY for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 07:53:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50067) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nkzh1-0006Ty-Rn for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 07:53:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nkzeo-0005Cx-9b; Fri, 26 Feb 2010 07:51:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2010 12:51:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5490 X-Emacs-PR-Package: emacs,cc-mode X-Emacs-PR-Keywords: Original-Received: via spool by 5490-submit@debbugs.gnu.org id=B5490.126718865920011 (code B ref 5490); Fri, 26 Feb 2010 12:51:02 +0000 Original-Received: (at 5490) by debbugs.gnu.org; 26 Feb 2010 12:50:59 +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 1Nkzej-0005Ch-Tk for submit@debbugs.gnu.org; Fri, 26 Feb 2010 07:50:58 -0500 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nkzei-0005CX-J9 for 5490@debbugs.gnu.org; Fri, 26 Feb 2010 07:50:57 -0500 Original-Received: (qmail 90769 invoked by uid 3782); 26 Feb 2010 12:50:50 -0000 Original-Received: from acm.muc.de (pD9E53F6A.dip.t-dialin.net [217.229.63.106]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Fri, 26 Feb 2010 13:50:48 +0100 Original-Received: (qmail 1539 invoked by uid 1000); 26 Feb 2010 12:58:17 -0000 Content-Disposition: inline In-Reply-To: <874ol6qgf9.fsf@catnip.gol.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 26 Feb 2010 07:51: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:35335 gmane.emacs.devel:121392 Archived-At: Jan, Miles, On Thu, Feb 25, 2010 at 09:59:06AM +0900, Miles Bader wrote: > "Jan D." writes: > >> M-: (c-state-cache-init) > >> , and tell me if this clears the buggy state. > > No, it does not. Run with Emacs taken from trunk 2010-02-24, around > > 11.00 UTC. > Yeah, I've been noticing the same problem a lot recently , and > (c-state-cache-init) doesn't seem to help. > Neither does re-invoking c++-mode (which in the past I've found is often > a good way to clear indentation bugs due to c++-mode caching bugs). > Deleting the buffer and re-visiting the file is the only way I've found > to get things working again. Reinitialising a CC Mode doesn't clear text properties from the buffer. Perhaps it should. > It does seem to always occur somewhere following use of template'd > types though, so I imagine it's probs with the < and > chars. As always. These little characters are horrors to deal with in C++ Mode. Their treatment is gradually improving. In particular, I fixed some "silly" bugs concerned with them and committed the fix yesterday evening (UCT+2). Hopefully, things will run more smoothly from now on. > [The annoying thing is that while it's very repeatable at the time it > occurs, it doesn't repeat for different emacs sessions, so I'm not > entirely sure how to go about reporting the bug...] Bob did so splendidly with a dribble file and CC Mode configuration (generated by C-c C-b). Anyhow, it might be working properly now. > -Miles -- Alan Mackenzie (Nuremberg, Germany).