From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#9560: An exact recipe Date: Wed, 19 Oct 2011 17:39:35 +0000 Message-ID: <20111019173935.GB2445@acm.acm> References: <87zkh54o3x.fsf@maru.md5i.com> <20111019101617.GA2445@acm.acm> <87zkgx2iye.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1319046314 18278 80.91.229.12 (19 Oct 2011 17:45:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 17:45:14 +0000 (UTC) Cc: 9560@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 19:45:09 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGaCS-0004sz-4i for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 19:45:08 +0200 Original-Received: from localhost ([::1]:58732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGaCR-00012h-LB for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 13:45:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGaCO-00011S-89 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 13:45:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGaCM-0004h8-N8 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 13:45:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGaCI-0004Zq-QH; Wed, 19 Oct 2011 13:44:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGaDJ-00083y-Gx; Wed, 19 Oct 2011 13:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 19 Oct 2011 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9560 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 9560-submit@debbugs.gnu.org id=B9560.131904632330944 (code B ref 9560); Wed, 19 Oct 2011 17:46:01 +0000 Original-Received: (at 9560) by debbugs.gnu.org; 19 Oct 2011 17:45:23 +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 1RGaCh-000833-C2 for submit@debbugs.gnu.org; Wed, 19 Oct 2011 13:45:23 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGaCf-00082v-E4 for 9560@debbugs.gnu.org; Wed, 19 Oct 2011 13:45:22 -0400 Original-Received: (qmail 20316 invoked by uid 3782); 19 Oct 2011 17:44:15 -0000 Original-Received: from acm.muc.de (pD951B17A.dip.t-dialin.net [217.81.177.122]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 19 Oct 2011 19:44:14 +0200 Original-Received: (qmail 5493 invoked by uid 1000); 19 Oct 2011 17:39:35 -0000 Content-Disposition: inline In-Reply-To: <87zkgx2iye.fsf@maru.md5i.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 13:46:01 -0400 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:52865 Archived-At: Hi again, Michael. On Wed, Oct 19, 2011 at 09:45:45AM -0400, Michael Welsh Duggan wrote: > Alan Mackenzie writes: > Okay, I've done some experimenting, and unfortunately, I have been > unable to recreate this problem using this recipe using emacs -Q -nw. > I've only encountered it using an X window. I found that too, on a tty - it's rather worrying. ;-( > In this environment, I was able to recreate the problem consistently. > I was able to replace the initial "3*C-v 7*C-n" in the macro with > "100*C-n C-l" and this allowed it to work with larger frame sizes. > Don't ask me why the C-l is necessary, as I do not know. I can now reproduce the problem consistently. As you surmised, the problem is in `c-state-cache', the cache of braces, parens, and brackets which is essential to CC Mode's operation. I'll see if I can get some instrumentation on `c-parse-state' so as to track down the exact point the cache is going wrong. I do hope such instrumentation won't make the error go away. > -- > Michael Welsh Duggan > (md5i@md5i.com) -- Alan Mackenzie (Nuremberg, Germany).