|
From: | Lennart Borgman (gmail) |
Subject: | Re: 23.0.60; Emacs hangs during fontification |
Date: | Sat, 15 Mar 2008 03:19:30 +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 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |