From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#5570: automatic cache validation Date: Sun, 4 Apr 2010 03:14:14 +0300 Message-ID: <201004040314.15065.pogonyshev@gmx.net> References: <87pr2gf5va.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270340771 23353 80.91.229.12 (4 Apr 2010 00:26:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Apr 2010 00:26:11 +0000 (UTC) Cc: 5570@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 04 02:26:07 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 1NyDf9-0002rO-E9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Apr 2010 02:26:03 +0200 Original-Received: from localhost ([127.0.0.1]:46851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyDf8-000539-PW for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Apr 2010 20:26:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyDf4-00051H-5n for bug-gnu-emacs@gnu.org; Sat, 03 Apr 2010 20:25:58 -0400 Original-Received: from [140.186.70.92] (port=39171 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyDf2-0004zb-EQ for bug-gnu-emacs@gnu.org; Sat, 03 Apr 2010 20:25:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyDf1-0002Tq-IY for bug-gnu-emacs@gnu.org; Sat, 03 Apr 2010 20:25:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59063) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyDf0-0002TU-0U; Sat, 03 Apr 2010 20:25:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NyDVS-0001ny-1e; Sat, 03 Apr 2010 20:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 04 Apr 2010 00:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@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.12703401596932 (code B ref 5570); Sun, 04 Apr 2010 00:16:02 +0000 Original-Received: (at 5570) by debbugs.gnu.org; 4 Apr 2010 00:15: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 1NyDVP-0001nl-3X for submit@debbugs.gnu.org; Sat, 03 Apr 2010 20:15:59 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NyDVM-0001ng-1S for 5570@debbugs.gnu.org; Sat, 03 Apr 2010 20:15:57 -0400 Original-Received: (qmail invoked by alias); 04 Apr 2010 00:15:50 -0000 Original-Received: from unknown (EHLO gonzo.localnet) [91.149.173.2] by mail.gmx.net (mp014) with SMTP; 04 Apr 2010 02:15:50 +0200 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX1+f1IZYDRifwJE6A3jdYJ5Pi2JOytM6BfHSplhZ7t Cno+/ZwK4B9tKo User-Agent: KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; ) In-Reply-To: <87pr2gf5va.fsf@stupidchicken.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.56000000000000005 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 03 Apr 2010 20:16: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:35910 Archived-At: Chong Yidong wrote: > > >>> Does > > >>> M-x (c-state-cache-init) > > >>> fix it? > > > > > >> No, it does not. > > > > > > > I just got the problem again, while editing gtkutil.c in Emacs. There > > M-: (c-state-cache-init) did indeed fix the problem. > > > > So it sometimes help. I guess this only adds to the confusion... > > You sent this message on March 22. That was the date Alan checked this > into the branch: > > 2010-03-22 Alan Mackenzie > > * progmodes/cc-engine.el (c-remove-stale-state-cache): > Fix off-by-one error. Fixes bug #5747. > > The patch was merged to the trunk a couple days later. I don't know > whether you were running with it when you made the above observation. > > So, are you still observing the problem after the patch? Not directed to me, but I can answer as well. Yes, I see the problem, though I'm not sure if it is "the" problem, since there might be many similar ones. * At least in some cases M-x (c-state-cache-init) doesn't help, but C-x RET r (buffer reloading) does; * Occasionally even buffer reloading doesn't help, so I have to kill the buffer and open the file again; * Sometimes I get wrong indentation which miraculously fixes itself after I hit TAB next time; * Sometimes when I type in a C string (like "bla-bla-bla"), first character after the opening quote gets eaten because of a Lisp error. Will report as separate bug when it happens if I don't forget. And yes, I double-verified that I do have the fix in the version I'm running now. Paul