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: Fri, 13 May 2016 14:09:27 -0700 Organization: UCLA Computer Science Department Message-ID: References: <56D72C35.4090708@cs.ucla.edu> <7zvb2hu21l.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463173828 12879 80.91.229.3 (13 May 2016 21:10:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 May 2016 21:10:28 +0000 (UTC) Cc: 22884@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 13 23:10:18 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 1b1KLg-0004oG-Ts for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 23:10:17 +0200 Original-Received: from localhost ([::1]:35917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1KLa-0008Tw-VK for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 17:10:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1KLX-0008QP-2o for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 17:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1KLS-0004UW-1B for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 17:10:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1KLR-0004UR-Uv; Fri, 13 May 2016 17:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b1KLR-0002de-MP; Fri, 13 May 2016 17:10:01 -0400 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: Fri, 13 May 2016 21:10: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.146317377610096 (code B ref 22884); Fri, 13 May 2016 21:10:01 +0000 Original-Received: (at 22884) by debbugs.gnu.org; 13 May 2016 21:09:36 +0000 Original-Received: from localhost ([127.0.0.1]:50285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1KL2-0002cm-Kk for submit@debbugs.gnu.org; Fri, 13 May 2016 17:09:36 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1KL1-0002cY-7D for 22884@debbugs.gnu.org; Fri, 13 May 2016 17:09:35 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B55871612D0; Fri, 13 May 2016 14:09:28 -0700 (PDT) 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 SmkyvzWTWdV9; Fri, 13 May 2016 14:09:28 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 055C01612D1; Fri, 13 May 2016 14:09:28 -0700 (PDT) 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 jLlTT2vMuGsH; Fri, 13 May 2016 14:09:27 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E08DF1612D0; Fri, 13 May 2016 14:09:27 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <7zvb2hu21l.fsf@fencepost.gnu.org> 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" Xref: news.gmane.org gmane.emacs.bugs:118222 Archived-At: On 05/13/2016 01:37 PM, Glenn Morris wrote: > What about other C code, besides the Emacs sources? > What if anyone ever wants to edit an older version of the Emacs sources= ? Older versions of Emacs have smaller config.h files, which makes the=20 problem significantly smaller. I just now visited a config.h file for=20 Emacs 23.4, and the same =E2=80=9Ctype =E2=80=98/ /=E2=80=99=E2=80=9D ben= chmark took about two seconds=20 on my six-year-old desktop (Fedora 23 x86-64, AMD Phenom II X4 910e).=20 Although two seconds is pretty annoying, it's considerably better than=20 the ten seconds I was seeing with emacs-25 before we worked around the=20 problem there. Although Non-Emacs sources may have the problem, I imagine it's=20 reasonably rare. > Your initial report said: "This sort of thing makes Emacs effectively > unusable for editing [some C code]", which is, y'know, a pretty bad sta= te. Yes, it is indeed a bad state. However, the problematic situations are=20 rare and cause slowdowns rather than crashes, so the case for making it=20 a blocker is not as strong as it could be.