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: Fri, 21 Sep 2012 13:47:15 -0400 Message-ID: References: <87ehpbni8j.fsf@kfs-lx2.home.kfs> <503D4B11.6000501@cua.dk> <20120902211620.GA3824@acm.acm> <50447C94.2040402@cua.dk> <20120905204821.GA3620@acm.acm> <87ipbqpkb7.fsf@maru.md5i.com> <20120908211451.GA22477@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348249719 28877 80.91.229.3 (21 Sep 2012 17:48:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 17:48:39 +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 Fri Sep 21 19:48:42 2012 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 1TF7L9-0002y6-6K for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 19:48:35 +0200 Original-Received: from localhost ([::1]:46497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF7L4-00010z-Pt for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 13:48:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF7L2-0000yX-1F for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:48:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF7L1-0007T2-4Q for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:48:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF7Ky-0007SO-IE; Fri, 21 Sep 2012 13:48:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TF7MY-0007dS-50; Fri, 21 Sep 2012 13:50:02 -0400 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: Fri, 21 Sep 2012 17:50: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.134824974229269 (code B ref 11749); Fri, 21 Sep 2012 17:50:02 +0000 Original-Received: (at 11749) by debbugs.gnu.org; 21 Sep 2012 17:49:02 +0000 Original-Received: from localhost ([127.0.0.1]:47362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF7LZ-0007bx-Tj for submit@debbugs.gnu.org; Fri, 21 Sep 2012 13:49:02 -0400 Original-Received: from euclid.red.cert.org ([192.88.209.48]:56429) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF7LX-0007bm-FX for 11749@debbugs.gnu.org; Fri, 21 Sep 2012 13:49:00 -0400 Original-Received: from bucknell.indigo.cert.org (bucknell.indigo.cert.org [10.60.10.121]) by euclid.red.cert.org (8.14.4/8.14.4) with ESMTP id q8LHfIT6012428; Fri, 21 Sep 2012 13:41:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cert.org; s=jthatj15xw2j; t=1348249278; bh=6cKXT4RCIDUrLHK4YbiCIEMnKrvgcSPATmeSRUDlaYE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type:Sender:Reply-To; b=S593qtfvXsVjS1Kg/DhF/Etrqda2m/7g4LWA6Y77pQtT1sIz7untsJ3+R+tH7ToIx fkxhZ/PMlMzdbbE0KxV7AMc2ASZV8EuXhAdjLc2Cq65g8S8Ktxxq5uKLa6KAJpyfw5 6rtng52lhgv5dwxMBIXAXeqXQzTgNnKs/x5xc5Dk= 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 q8LHlHZD026209; Fri, 21 Sep 2012 13:47:17 -0400 Original-Received: (from mwd@localhost) by waterbuck.yellow.cert.org (8.14.4/8.14.4/Submit/1.6) id q8LHlFuv028965; Fri, 21 Sep 2012 13:47:15 -0400 X-Authentication-Warning: waterbuck.yellow.cert.org: mwd set sender to mwd@cert.org using -f In-Reply-To: (Michael Welsh Duggan's message of "Mon, 10 Sep 2012 08:48:19 -0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.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 (newer, 2) 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:64700 Archived-At: Michael Welsh Duggan writes: > Michael Welsh Duggan writes: > >>>> There is generally no way to re-create it, so I've stopped reporting >>>> these. I wish there were some way to record all actions in c-mode >>>> buffers such that they could be saved and re-played when this type of >>>> problem happens. If there were some sort of debug flag I could turn >>>> on, I would turn it on by default and hopefully be able to catch some >>>> useful information. >>> >>> M-x c-toggle-parse-state-debug >>> >>> (or (c-toggle-parse-state-debug 1) in your .emacs). Warning: variable >>> `c-debug-parse-state' is not buffer local. I wrote this on 19th October >>> last year to help sort out the bug you reported a little earlier. :-) >>> >>> It works by calculating c-parse-state twice for each call - The first >>> time normally, then again with the internal state bound to "newly >>> initialised". If the the two results differ, they are printed to >>> *Messages*, together with the saved previous state. If this does >>> trigger, please note any recent buffer changes. It may make editing >>> intolerably slow. >> >> I will turn this on. I turned this on, and inserted a (ding) where cc-mode outputs an inconsistency message. I can barely stand to edit code now, due to what seem to be almost every key press causing a beep. Have you made any progress here, or do you need more data? -- Michael Welsh Duggan (mwd@cert.org)