From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33784: 27.0.50; some case c-backward-token-2 takes cpu more and emacs hang Date: Wed, 19 Dec 2018 17:22:00 +0200 Message-ID: <83k1k5czjb.fsf@gnu.org> References: <20181218174716.96822.qmail@mail.muc.de> <83tvjad5x7.fsf@gnu.org> <20181218185505.GC8949@ACM> <83r2eed4fy.fsf@gnu.org> <20181218210507.GD8949@ACM> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1545234959 31019 195.159.176.226 (19 Dec 2018 15:55:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2018 15:55:59 +0000 (UTC) Cc: 33784@debbugs.gnu.org, linux.xhyang@gmail.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 16:55:54 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZeCQ-0007w9-LZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2018 16:55:54 +0100 Original-Received: from localhost ([::1]:60964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZeEX-0003my-H6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2018 10:58:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZdgh-0000Q0-63 for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 10:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZdgd-0006Id-91 for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 10:23:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZdgc-0006IR-Lz; Wed, 19 Dec 2018 10:23:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZdgc-0001F1-GI; Wed, 19 Dec 2018 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 19 Dec 2018 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33784 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 33784-submit@debbugs.gnu.org id=B33784.15452329224683 (code B ref 33784); Wed, 19 Dec 2018 15:23:02 +0000 Original-Received: (at 33784) by debbugs.gnu.org; 19 Dec 2018 15:22:02 +0000 Original-Received: from localhost ([127.0.0.1]:54969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZdfe-0001DH-4s for submit@debbugs.gnu.org; Wed, 19 Dec 2018 10:22:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZdfd-0001D0-02 for 33784@debbugs.gnu.org; Wed, 19 Dec 2018 10:22:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZdfT-0005b6-Kx for 33784@debbugs.gnu.org; Wed, 19 Dec 2018 10:21:55 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZdfR-0005a6-Ph; Wed, 19 Dec 2018 10:21:50 -0500 Original-Received: from [176.228.60.248] (port=4694 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gZdfQ-0007T9-SJ; Wed, 19 Dec 2018 10:21:49 -0500 In-reply-to: <20181218210507.GD8949@ACM> (message from Alan Mackenzie on Tue, 18 Dec 2018 21:05:07 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:153598 Archived-At: > Date: Tue, 18 Dec 2018 21:05:07 +0000 > Cc: linux.xhyang@gmail.com, 33784@debbugs.gnu.org > From: Alan Mackenzie > > > The real problem is probably performance. But that's a guess; someone > > will have to do the forensics to find out which change did that, and > > then try to find related bug reports and/or discussions. > > Hah! The change, not to fontify buffers with names beginning with > spaces, was made by Simon Marshall on 1995-12-09. The list archives only > go back to 2000. :-( Maybe we should simply remove that limitation. Most temporary buffers are in Fundamental mode anyway, and a few that aren't should support font-lock. If they are rarely or never displayed, we should be fine. > Maybe the documentation for with-temp-buffer should be amended to > recommend Lisp programmers not to use it for buffers holding user text. I believe this is a limitation that is unjustifiably harsh.