From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#22884: 25.0.92; C/l mode editing takes waaaayy too long Date: Thu, 3 Mar 2016 13:57:11 -0800 Organization: UCLA Computer Science Department Message-ID: <56D8B337.7000302@cs.ucla.edu> References: <56D72C35.4090708@cs.ucla.edu> <20160303124910.GA2852@acm.fritz.box> <56D87A6E.8090202@cs.ucla.edu> <20160303192330.GA3822@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457042302 9938 80.91.229.3 (3 Mar 2016 21:58:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2016 21:58:22 +0000 (UTC) Cc: 22884@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 22:58:11 2016 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 1abbG5-0004ns-Ts for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2016 22:58:10 +0100 Original-Received: from localhost ([::1]:37601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abbG5-00088M-6a for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2016 16:58:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abbG1-00087w-HM for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 16:58:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abbFy-0007hK-Br for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 16:58:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abbFy-0007hG-8x; Thu, 03 Mar 2016 16:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1abbFx-0003Zr-VG; Thu, 03 Mar 2016 16:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 03 Mar 2016 21:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22884 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 22884-submit@debbugs.gnu.org id=B22884.145704224313707 (code B ref 22884); Thu, 03 Mar 2016 21:58:01 +0000 Original-Received: (at 22884) by debbugs.gnu.org; 3 Mar 2016 21:57:23 +0000 Original-Received: from localhost ([127.0.0.1]:60564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abbFK-0003Z0-Pr for submit@debbugs.gnu.org; Thu, 03 Mar 2016 16:57:22 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39102) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abbFI-0003Ym-4s for 22884@debbugs.gnu.org; Thu, 03 Mar 2016 16:57:20 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E485E1601A7; Thu, 3 Mar 2016 13:57:12 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id PDE65pRp9jgF; Thu, 3 Mar 2016 13:57:12 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3E082160779; Thu, 3 Mar 2016 13:57:12 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JM0LiyRKnqWZ; Thu, 3 Mar 2016 13:57:12 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 25B831601A7; Thu, 3 Mar 2016 13:57:12 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <20160303192330.GA3822@acm.fritz.box> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:114366 Archived-At: On 03/03/2016 11:23 AM, Alan Mackenzie wrote: > Why only for the one file? Because I didn't have time to fix all the source files (I was about to rush off and teach a class....). It could easily be added, at least for files we maintain. Though, as Eli says, it'd be nicer if cc-mode didn't think lines beginning with '(' were relevant for function-start in C. > The performance hit comes from the amount of contiguous syntactic > whitespace following the "failed" comment. Have you checked this is > the only file with so much SWS? No. It's easier for me to simply fix all instances of code that have '(' at line start. I can propose a more-complete patch along those lines. > > OK. Could you give me a clue as to what they mean, please? For > example, in > > INLINE EMACS_INT > (XLI) (Lisp_Object o) > { > return lisp_h_XLI (o); > } > > , what does "(XLI)" do? It defines a function named 'XLI' even though there's also a function-like macro named 'XLI', without expanding the macro. > No, they don't cause breakage. Good, in that case we can leave them alone.