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#5570: automatic cache validation Date: Sat, 20 Mar 2010 13:22:50 +0000 Message-ID: <20100320132250.GA2674@muc.de> References: <000301caac36$0fc0b760$2f422620$@net> <201003182205.12157.pogonyshev@gmx.net> <20100319215639.GA2079@muc.de> <4BA3FE94.7080901@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1269091518 22452 80.91.229.12 (20 Mar 2010 13:25:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2010 13:25:18 +0000 (UTC) Cc: Chong Yidong , 5570@debbugs.gnu.org, Paul Pogonyshev To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 20 14:25: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 1Nsyfw-0005m4-D3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Mar 2010 14:25:12 +0100 Original-Received: from localhost ([127.0.0.1]:40527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nsyfv-0007Qc-Rr for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Mar 2010 09:25:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nsyfr-0007QX-LC for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 09:25:07 -0400 Original-Received: from [140.186.70.92] (port=51859 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nsyfo-0007QN-4j for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 09:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nsyfm-0003EG-Rn for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 09:25:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50406) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nsyfm-0003EC-QB for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 09:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NsyW6-00061G-PU; Sat, 20 Mar 2010 09:15:02 -0400 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: Sat, 20 Mar 2010 13:15:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-GNU-PR-Message: followup 5570 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 5570-submit@debbugs.gnu.org id=B5570.126909090023118 (code B ref 5570); Sat, 20 Mar 2010 13:15:02 +0000 Original-Received: (at 5570) by debbugs.gnu.org; 20 Mar 2010 13:15:00 +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 1NsyW4-00060p-6l for submit@debbugs.gnu.org; Sat, 20 Mar 2010 09:15:00 -0400 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 1NsyW1-00060k-O6 for 5570@debbugs.gnu.org; Sat, 20 Mar 2010 09:14:58 -0400 Original-Received: (qmail 99555 invoked by uid 3782); 20 Mar 2010 13:14:51 -0000 Original-Received: from acm.muc.de (pD9E22493.dip.t-dialin.net [217.226.36.147]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 20 Mar 2010 14:14:48 +0100 Original-Received: (qmail 3205 invoked by uid 1000); 20 Mar 2010 13:22:50 -0000 Content-Disposition: inline In-Reply-To: <4BA3FE94.7080901@swipnet.se> 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: Sat, 20 Mar 2010 09:15:02 -0400 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:35652 Archived-At: Hi, Jan, On Fri, Mar 19, 2010 at 11:45:40PM +0100, Jan Djärv wrote: > Alan Mackenzie skrev 2010-03-19 22.56: > >Hi, Paul, > >On Thu, Mar 18, 2010 at 10:05:11PM +0200, Paul Pogonyshev wrote: > >>After March the 1st changes indentation in C++ and related modes is > >>better, but it still breaks often enough --- to the tune of once every > >>3--5 minutes or so. Both when editing C++ and Java code. > >How about plain C? Is the breakage connected with templates/generics, as > >far as you can see? > FWIW, I see breakage in plain C also. That's worth a great deal to know. It suggests that the changes of 2010-02-04 aren't responsble for this bug. > >What is the breakage like? Is it a one-off failure which repairs itself > >after a few more edits, or is it more like a creeping death? Does > >reinitializing the mode (M-x c++-mode) repair the indentation? Does > >saving the file and reloading it fix things? > I now more or less automatically do M-x revert buffer when this happens. When _what_ happens? I take it, then, that revert-buffer fixes the bad state, and you save the file first before reverting it. Any chance you could answer the above questions, together with the further one: Does M-x (c-state-cache-init) fix it? These answers would be of the utmost help. Thanks! > Jan D. -- Alan Mackenzie (Nuremberg, Germany).