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: Wed, 23 Jan 2013 10:39:34 -0500 Message-ID: References: <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> <20130123141644.GB3411@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358955664 21222 80.91.229.3 (23 Jan 2013 15:41:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2013 15:41:04 +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 Wed Jan 23 16:41:22 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 1Ty2Ry-0007Zk-VM for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jan 2013 16:41:19 +0100 Original-Received: from localhost ([::1]:53956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty2Rh-0001N4-QN for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jan 2013 10:41:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty2Re-0001Mz-S9 for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 10:40:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ty2Rd-00046C-K3 for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 10:40:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty2RU-00044t-FG; Wed, 23 Jan 2013 10:40:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ty2Sg-0007Ao-V0; Wed, 23 Jan 2013 10:42:03 -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: Wed, 23 Jan 2013 15:42:02 +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.135895569227538 (code B ref 11749); Wed, 23 Jan 2013 15:42:02 +0000 Original-Received: (at 11749) by debbugs.gnu.org; 23 Jan 2013 15:41:32 +0000 Original-Received: from localhost ([127.0.0.1]:46597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty2S5-00079y-NC for submit@debbugs.gnu.org; Wed, 23 Jan 2013 10:41:31 -0500 Original-Received: from upton.red.cert.org ([192.88.209.60]:51686) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty2RZ-00078y-73 for 11749@debbugs.gnu.org; Wed, 23 Jan 2013 10:41:16 -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 r0NFdY7m020723; Wed, 23 Jan 2013 10:39:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cert.org; s=jthatj15xw2j; t=1358955574; bh=mcFNEjBq1PxdT3tRQREcP9KrUZmzzUaA24GoEZWyOgg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type:Sender:Reply-To; b=LHYIhvX4jYJo3k7vUkS+fYf/6mSVTJaUbQsOF28icFX4wo/F9mn6yh/BhqhMygFBT 1uwg9IEteDi0W7yLyZQNN3KAA5iQF2J/cpOg/VSpkb2qrm6LDFnmfoeyhB3X6EVrzL Um60b04qNVISh5qr7aruxvd0iDVJmIZjHWiLDkrI= 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 r0NFdYAc027708; Wed, 23 Jan 2013 10:39:34 -0500 Original-Received: (from mwd@localhost) by waterbuck.yellow.cert.org (8.14.4/8.14.4/Submit/1.6) id r0NFdYtM018101; Wed, 23 Jan 2013 10:39:34 -0500 X-Authentication-Warning: waterbuck.yellow.cert.org: mwd set sender to mwd@cert.org using -f In-Reply-To: <20130123141644.GB3411@acm.acm> (Alan Mackenzie's message of "Wed, 23 Jan 2013 14:16:45 +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:70211 Archived-At: Alan Mackenzie writes: > Hi, Michael. > > On Thu, Jan 17, 2013 at 11:27:04AM -0500, Michael Welsh Duggan wrote: >> Alan Mackenzie writes: > >> [This] fixes this case, indeed. Unfortunately, here's another. > [...] > I think the following patch should fix that glitch. I've also taken the > opportunity to simplify things a little (part of the global state was > being passed needlessly as a parameter) and to rename some variables for > more consistency. > > Would you try this out and confirm it works, as usual, please. I can confirm that this fixes this particular problem. > However, this isn't the end of the story - > > (i) Start your test case in rwtransfer.c, and M-v until the top of the > file. (This shouldn't display any inconsistency messages) > (ii) M-x goto-char 20001 . This should go to EOL 671, just > after a "}". > (iii) Type }. (Two characters) > (iv) C-v, possibly twice. > > This displays a message something like: > c-parse-state inconsistency at 21070: using cache: ((20458 . 20935)), > from scratch: ((20838 . 20877)) > , together with a state dump. > > This bug isn't a new one, but I've just come across it. I'll be working > on it in the meantime. Oh, good. I haven't reported any "type stuff" errors I have been getting because they are harder to reproduce. (Unless it is triggered the first time you've typed in the buffer, it's hard to replicate the exact scenario.) I usually wait until you've fixed the last thing I sent in before attempting to report another, just in case the thing you are fixing is related. -- Michael Welsh Duggan (mwd@cert.org)