From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Emacs 22.2 release plans - request for a slight delay. Date: Fri, 7 Mar 2008 23:24:50 +0000 Message-ID: <20080307232450.GB4570@muc.de> References: <874pbwvmlv.fsf@stupidchicken.com> <87ir01krr7.fsf@stupidchicken.com> <20080306223857.GC3049@muc.de> <87lk4vv3s5.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204931491 15026 80.91.229.12 (7 Mar 2008 23:11:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Mar 2008 23:11:31 +0000 (UTC) Cc: martin rudalics , Stefan Monnier , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 08 00:11:58 2008 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 1JXlj7-0002oJ-Sa for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 00:11:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXlia-0003AQ-1J for ged-emacs-devel@m.gmane.org; Fri, 07 Mar 2008 18:11:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXliV-0003AL-MY for emacs-devel@gnu.org; Fri, 07 Mar 2008 18:11:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXliU-00039Y-70 for emacs-devel@gnu.org; Fri, 07 Mar 2008 18:11:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXliU-00039T-1n for emacs-devel@gnu.org; Fri, 07 Mar 2008 18:11:06 -0500 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JXliT-0008UL-Hg for emacs-devel@gnu.org; Fri, 07 Mar 2008 18:11:05 -0500 Original-Received: (qmail 88818 invoked by uid 3782); 7 Mar 2008 23:10:59 -0000 Original-Received: from acm.muc.de (p57AF6041.dip.t-dialin.net [87.175.96.65]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 08 Mar 2008 00:10:58 +0100 Original-Received: (qmail 4984 invoked by uid 1000); 7 Mar 2008 23:24:50 -0000 Content-Disposition: inline In-Reply-To: <87lk4vv3s5.fsf@stupidchicken.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:91674 Archived-At: Hi,! On Thu, Mar 06, 2008 at 06:19:54PM -0500, Chong Yidong wrote: > > I'm asking for a slight delay (perhaps over the weekend?) to fix a > > serious bug in C mode, namely: > > Visit lisp.h, go to the end of the buffer, and do > > M-x RET c-beginning-of-defun RET > > This is horrendously slow (~30 seconds). > > I've just had a look at c-beginning-of-defun, and I've narrowed the > > fault down to `c-in-knr-argdecl', where the code laboriously trundles > > back one paren pair at a time until it finds a "}" (or BOB). This is > > clearly suboptimal in a region with several hundred consecutive > > declarations without brace-blocks. There are ~900 consecutive > > paren-pairs in the tail of lisp.h. > > So perhaps if I put the limit at 32, this will be safe for any > > function not appearing in the Obfuscated C competition or > > deliberately written to break editors. :-) > > This will probably be a "quick and easy" change, taking, perhaps, an > > hour. However, it's probably worth while doing it calmly and carefully. > > ;-) > [Alan later sent a patch to me off-list.] > First off, could you check the patch into the trunk? Thanks. Done, including a patch to cc-mode.texi. -- Alan Mackenzie (Nuremberg, Germany).