From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Emacs hangs during fontification Date: Sat, 15 Mar 2008 03:19:30 +0100 Message-ID: <47DB3232.5030105@gmail.com> References: <47D9582C.2020306@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205547611 29571 80.91.229.12 (15 Mar 2008 02:20:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Mar 2008 02:20:11 +0000 (UTC) Cc: =?ISO-8859-1?Q?Karl_Landstr=F6m?= , emacs-pretest-bug@gnu.org, Aaron Hawley To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 15 03:20:38 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 1JaM0j-0005UR-9A for ged-emacs-devel@m.gmane.org; Sat, 15 Mar 2008 03:20:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaM08-0003sR-RR for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 22:20:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaM03-0003n7-JJ for emacs-devel@gnu.org; Fri, 14 Mar 2008 22:19:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaM01-0003iL-Kt for emacs-devel@gnu.org; Fri, 14 Mar 2008 22:19:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaM01-0003i6-H7 for emacs-devel@gnu.org; Fri, 14 Mar 2008 22:19:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JaM01-0002vJ-1B for emacs-devel@gnu.org; Fri, 14 Mar 2008 22:19:53 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JaM00-0002TQ-0V for emacs-pretest-bug@gnu.org; Fri, 14 Mar 2008 22:19:52 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JaLzu-0002uI-Kk for emacs-pretest-bug@gnu.org; Fri, 14 Mar 2008 22:19:49 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JaLzu-0002tu-9A for emacs-pretest-bug@gnu.org; Fri, 14 Mar 2008 22:19:46 -0400 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:60149 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JaLzp-0003mK-5h; Sat, 15 Mar 2008 03:19:44 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 080314-0, 2008-03-14), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JaLzp-0003mK-5h. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JaLzp-0003mK-5h 35e472e3f3dc92751e2d2b9b18daf2b3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: 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:92645 gmane.emacs.pretest.bugs:21585 Archived-At: Stefan Monnier wrote: >> I got a bug report through Emacs Wiki (see >> http://www.emacswiki.org/cgi-bin/wiki/NxhtmlMode) saying that Emacs hangs >> when a large javascript file is opened. I tested and, yes, it hangs when >> I try to scroll down a number of times. > >> I have attached the javascript.el that I have used. (This is the one that >> has been considered for inclusion in Emacs.) > > My money is on: a regexp pattern with exponential blow up in the > font-lock-keywords. Aaron and Karl, what do you think?