From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#11749: Acknowledgement (24.1; C-mode indentation gives wrong-type-argument error.) Date: Thu, 17 Jan 2013 11:27:04 -0500 Message-ID: References: <20121010200025.GA3449@acm.acm> <20121014170650.GA3766@acm.acm> <20121028113610.GA3339@acm.acm> <20121104203912.GA3274@acm.acm> <20121121213340.GB4025@acm.acm> <87sj7elgtt.fsf@maru.md5i.com> <20130107120951.GB3384@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358440053 8349 80.91.229.3 (17 Jan 2013 16:27:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 16:27:33 +0000 (UTC) Cc: "11749@debbugs.gnu.org" <11749@debbugs.gnu.org>, Kim Storm To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 17:27:50 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TvsJh-0007xr-Ne for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 17:27:49 +0100 Original-Received: from localhost ([::1]:33979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsJR-0005qD-5I for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 11:27:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsJN-0005nz-3c for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:27:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvsJI-0007cD-1m for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:27:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsJF-0007bb-0W; Thu, 17 Jan 2013 11:27:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TvsJt-0005GH-UM; Thu, 17 Jan 2013 11:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 17 Jan 2013 16:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11749 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 11749-submit@debbugs.gnu.org id=B11749.135844007420211 (code B ref 11749); Thu, 17 Jan 2013 16:28:01 +0000 Original-Received: (at 11749) by debbugs.gnu.org; 17 Jan 2013 16:27:54 +0000 Original-Received: from localhost ([127.0.0.1]:37172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvsJl-0005Fw-MJ for submit@debbugs.gnu.org; Thu, 17 Jan 2013 11:27:54 -0500 Original-Received: from upton.red.cert.org ([192.88.209.60]:45898) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvsJi-0005Fm-23 for 11749@debbugs.gnu.org; Thu, 17 Jan 2013 11:27:52 -0500 Original-Received: from bucknell.indigo.cert.org (bucknell.indigo.cert.org [10.60.10.121]) by upton.red.cert.org (8.14.4/8.14.4) with ESMTP id r0HGR5MB017992; Thu, 17 Jan 2013 11:27:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cert.org; s=jthatj15xw2j; t=1358440025; bh=wajisLUVy7yWtTAA08X8xFHG+i3oWAFdOp+SYFa9DLc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type:Sender:Reply-To; b=B52NL2Y2rl/vrnc/zBsHyVSzsAoaDw9/ClxGDpMyuUPy1qF6YUkZlg7J+752+Wv8o 5YOzD4hZ4DpFHTPUxK7YZFEby7k/KZV6tHBhqnrnEQoOeG0fUcvGVel8Fp+s96e/ao nO35nZDIomPvcL9hOwvfv3ESimVSz51TjtFo8MUE= Original-Received: from waterbuck.yellow.cert.org (waterbuck.yellow.cert.org [10.20.128.84]) by bucknell.indigo.cert.org (8.14.4/8.14.4/2.81) with ESMTP id r0HGR5Of005771; Thu, 17 Jan 2013 11:27:05 -0500 Original-Received: (from mwd@localhost) by waterbuck.yellow.cert.org (8.14.4/8.14.4/Submit/1.6) id r0HGR43o028758; Thu, 17 Jan 2013 11:27:04 -0500 X-Authentication-Warning: waterbuck.yellow.cert.org: mwd set sender to mwd@cert.org using -f In-Reply-To: <20130107120951.GB3384@acm.acm> (Alan Mackenzie's message of "Mon, 7 Jan 2013 12:09:52 +0000") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69924 Archived-At: Alan Mackenzie writes: > Happy New Year, Michael! > > On Sun, Dec 09, 2012 at 10:35:42PM -0500, Michael Welsh Duggan wrote: >> Here's another case. > >> emacs -Q rwrec.h >> M-x c-toggle-parse-state-debug >> C-v {about 24-27 times} > >> This is with current bzr. >> 111170 rgm@gnu.org-20121210020042-arkhaf5eej6ujgtn > >> rwrec.h is attached. > > Thanks. I think the following patch should have sorted out this one. It > is based on the cc-engine.el in the emacs-24 branch in savannah. Could > you try it out as usual, please. This fixes this case, indeed. Unfortunately, here's another. emacs -Q rwtransfer.c M-x c-toggle-parse-state-debug M-> Then type M-v until the parse failure happens. For me it happens at 32% point in the file. Please not that this particular problem only happens when paging through the file in reverse order. c-parse-state inconsistency at 15885: using cache: (15636 15181 (13849 . 15141)), from scratch: (15636 (15303 . 15493) 15181 (13849 . 15141)) Old state: (setq c-state-cache '(16334 16271 16248 (16059 . 16193) 15181 (13849 . 15141)) c-state-cache-good-pos 16335 c-state-nonlit-pos-cache '(48473 45473 42473 39473 36473 33473 30473 27378 24378 21260 18015 15015 12015 9015 6015 3015) c-state-nonlit-pos-cache-limit 48473 c-state-semi-nonlit-pos-cache '(48323 45323 42323 39323 36323 33260 30260 27260 24260 21260 18001 15001 12001 9001 6001 3001) c-state-semi-nonlit-pos-cache-limit 48323 c-state-brace-pair-desert '(15181 . 17388) c-state-point-min 1 c-state-point-min-lit-type nil c-state-point-min-lit-start nil c-state-min-scan-pos 1 c-state-old-cpp-beg nil c-state-old-cpp-end nil c-parse-state-point 16335) c-parse-state inconsistency at 15885: using cache: (15636 15181 (13849 . 15141)), from scratch: (15636 (15303 . 15493) 15181 (13849 . 15141)) -- Michael Welsh Duggan (mwd@cert.org)