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: Fri, 2 Apr 2010 20:01:36 +0300 Message-ID: <201004022001.37107.pogonyshev@gmx.net> References: <000301caac36$0fc0b760$2f422620$@net> <20100321111627.GA2594@muc.de> <4BA7252A.3080107@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1270229378 18811 80.91.229.12 (2 Apr 2010 17:29:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Apr 2010 17:29:38 +0000 (UTC) Cc: Chong Yidong , 5570@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 02 19:29:34 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 1NxkgX-0003jg-9T for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Apr 2010 19:29:33 +0200 Original-Received: from localhost ([127.0.0.1]:48301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxkgW-0000d8-O3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Apr 2010 13:29:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nxkd4-00071l-8t for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2010 13:25:58 -0400 Original-Received: from [140.186.70.92] (port=35110 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nxkd2-00070p-Vp for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2010 13:25:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nxkd2-0003ed-0j for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2010 13:25:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40151) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nxkcv-0003do-5Y; Fri, 02 Apr 2010 13:25:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NxkHq-0007ZK-1G; Fri, 02 Apr 2010 13:04: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: Fri, 02 Apr 2010 17:04:01 +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.127022779029087 (code B ref 5570); Fri, 02 Apr 2010 17:04:01 +0000 Original-Received: (at 5570) by debbugs.gnu.org; 2 Apr 2010 17:03:10 +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 1NxkGz-0007Z6-W4 for submit@debbugs.gnu.org; Fri, 02 Apr 2010 13:03:10 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NxkGx-0007Yl-BM for 5570@debbugs.gnu.org; Fri, 02 Apr 2010 13:03:08 -0400 Original-Received: (qmail invoked by alias); 02 Apr 2010 17:03:01 -0000 Original-Received: from unknown (EHLO gonzo.localnet) [91.149.173.2] by mail.gmx.net (mp070) with SMTP; 02 Apr 2010 19:03:01 +0200 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX19iyal6qMNiqb0g0snxoIhuBFl/l+xUT/vmjpCgqW q3axk+u56uHl70 User-Agent: KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; ) In-Reply-To: <4BA7252A.3080107@swipnet.se> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57999999999999996 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 02 Apr 2010 13:04: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:35877 Archived-At: Jan Dj=E4rv wrote: > Alan Mackenzie skrev: > >>> Does > >>> M-x (c-state-cache-init) > >>> fix it? > >=20 > >=20 > >> No, it does not. > >=20 >=20 > I just got the problem again, while editing gtkutil.c in Emacs. There > M-: (c-state-cache-init) did indeed fix the problem. >=20 > So it sometimes help. I guess this only adds to the confusion... I guess that's because there are several similar bugs. At the rate fixing goes (or rather doesn't go) I think I'll compile and use an old Emacs without indentation bugs again. Paul P.S. By the way: maybe this change did fix the original bug, but it didn't improve overall indentation problems in CC modes noticeably. 2010-03-24 Alan Mackenzie * progmodes/cc-engine.el (c-remove-stale-state-cache): Fix off-by-one error. Fixes bug #5747.