From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#5570: automatic cache validation Date: Sat, 20 Mar 2010 15:49:07 +0100 Message-ID: <4BA4E063.50704@swipnet.se> References: <000301caac36$0fc0b760$2f422620$@net> <201003182205.12157.pogonyshev@gmx.net> <20100319215639.GA2079@muc.de> <4BA3FE94.7080901@swipnet.se> <20100320132250.GA2674@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269096918 6759 80.91.229.12 (20 Mar 2010 14:55:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2010 14:55:18 +0000 (UTC) Cc: Chong Yidong , 5570@debbugs.gnu.org, Paul Pogonyshev To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 20 15:55: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 1Nt051-0004ME-Qb for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Mar 2010 15:55:12 +0100 Original-Received: from localhost ([127.0.0.1]:53569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt051-0005UO-BW for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Mar 2010 10:55:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nt04x-0005TS-B5 for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 10:55:07 -0400 Original-Received: from [140.186.70.92] (port=46454 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt04v-0005R7-CC for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 10:55:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nt04t-0003tW-3u for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 10:55:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43627) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt04t-0003tM-1l for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2010 10:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nt003-0006od-47; Sat, 20 Mar 2010 10:50:03 -0400 X-Loop: bug-gnu-emacs@gnu.org Resent-From: "Jan D." 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 14:50: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.126909655726186 (code B ref 5570); Sat, 20 Mar 2010 14:50:02 +0000 Original-Received: (at 5570) by debbugs.gnu.org; 20 Mar 2010 14:49:17 +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 1NszzJ-0006oJ-Ea for submit@debbugs.gnu.org; Sat, 20 Mar 2010 10:49:17 -0400 Original-Received: from smtprelay-h11.telenor.se ([62.127.194.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NszzG-0006oD-Fe for 5570@debbugs.gnu.org; Sat, 20 Mar 2010 10:49:15 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h11.telenor.se (Postfix) with ESMTP id E7002163D3 for <5570@debbugs.gnu.org>; Sat, 20 Mar 2010 15:49:08 +0100 (CET) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArE3ADp9pEtV4S1uPGdsb2JhbACbPQwBAQEBNy29L4R9BA X-IronPort-AV: E=Sophos;i="4.51,279,1267398000"; d="scan'208";a="53612060" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 20 Mar 2010 15:49:08 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTPA id AE30C7FA01A; Sat, 20 Mar 2010 15:49:07 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20100320132250.GA2674@muc.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 20 Mar 2010 10:50:03 -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:35654 Archived-At: Alan Mackenzie wrote: > Hi, Jan, >=20 > On Fri, Mar 19, 2010 at 11:45:40PM +0100, Jan Dj=E4rv wrote: >=20 >=20 >> Alan Mackenzie skrev 2010-03-19 22.56: >>> Hi, Paul, >=20 >>> 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 eve= ry >>>> 3--5 minutes or so. Both when editing C++ and Java code. >=20 >>> How about plain C? Is the breakage connected with templates/generics= , as >>> far as you can see? >=20 >> FWIW, I see breakage in plain C also. >=20 > That's worth a great deal to know. It suggests that the changes of > 2010-02-04 aren't responsble for this bug. >=20 >>> What is the breakage like? Is it a one-off failure which repairs its= elf >>> 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? >=20 >> I now more or less automatically do M-x revert buffer when this happen= s. >=20 > When _what_ happens?=20 When C-mode thinks everything is topmost-intro. > 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: >=20 > Does > M-x (c-state-cache-init) > fix it? > =20 No, it does not. Jan D.