unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Emacs hangs during fontification
Date: Fri, 14 Mar 2008 11:35:21 -0400	[thread overview]
Message-ID: <jwvskytmi94.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <47D9582C.2020306@gmail.com> (Lennart Borgman's message of "Thu,  13 Mar 2008 17:37:00 +0100")

> 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.


        Stefan




  parent reply	other threads:[~2008-03-14 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13 16:37 23.0.60; Emacs hangs during fontification Lennart Borgman (gmail)
2008-03-13 17:22 ` Lennart Borgman (gmail)
2008-03-14 15:35 ` Stefan Monnier [this message]
2008-03-15  2:19   ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvskytmi94.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).