From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: narrow-to-defun and mark-defun now work properly for CC Mode. Date: Wed, 11 Apr 2007 16:51:12 -0400 Message-ID: <87ejmq63en.fsf@stupidchicken.com> References: <20070409123730.GD1065@muc.de> <17948.11246.263666.982903@farnswood.snap.net.nz> <461C71A8.7060401@gmx.at> <871wiqkejv.fsf@stupidchicken.com> <873b36ajc5.fsf@stupidchicken.com> <20070411210916.GA1818@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176324555 6526 80.91.229.12 (11 Apr 2007 20:49:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2007 20:49:15 +0000 (UTC) Cc: martin rudalics , Nick Roberts , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 11 22:49:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hbjkd-00061k-RR for ged-emacs-devel@m.gmane.org; Wed, 11 Apr 2007 22:49:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hbjoi-0005nK-MS for ged-emacs-devel@m.gmane.org; Wed, 11 Apr 2007 16:53:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hbjog-0005lR-J5 for emacs-devel@gnu.org; Wed, 11 Apr 2007 16:53:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hbjof-0005f4-3t for emacs-devel@gnu.org; Wed, 11 Apr 2007 16:53:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hbjoe-0005eh-U4 for emacs-devel@gnu.org; Wed, 11 Apr 2007 16:53:20 -0400 Original-Received: from cyd.mit.edu ([18.19.1.138]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HbjkZ-00019e-70 for emacs-devel@gnu.org; Wed, 11 Apr 2007 16:49:07 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 060A44E45B; Wed, 11 Apr 2007 16:51:12 -0400 (EDT) In-Reply-To: <20070411210916.GA1818@muc.de> (Alan Mackenzie's message of "11 Apr 2007 21\:49\:41 +0200\, Wed\, 11 Apr 2007 22\:09\:16 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69308 Archived-At: Alan Mackenzie writes: >> - Open xdisp.c >> - M-> > >> On my Pentium IV, M-> takes 30 seconds to complete. > > I have a 1.2 GHz Athlon, and for me these operations are instantaneous > enough. I start Emacs with -Q. With C-s method, I don't see any delay > at all, and M-> takes well under half a second. I have checked (by doing > C-x n d) that I have my own latest changes in my Emacs. > > One other possibility is that the recipe I gave for rebuilding the > CC Mode files.elc was erroneous (or you made an error following it), > and, somehow, one or more of the macros didn't get properly > compiled. Aha, that was the problem! I expected `make recompile' to DTRT, but this was a mistaken assumption for this case. After doing a `make bootstrap', the performance problem has disappeared entirely. Thanks very much, and sorry for the noise!