all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: emacs hangs in jit-lock
Date: Tue, 28 Nov 2006 15:03:06 -0500	[thread overview]
Message-ID: <87k61fibk5.fsf@stupidchicken.com> (raw)
In-Reply-To: <456C70A0.6060105@gnu.org> (Sam Steingold's message of "Tue\, 28 Nov 2006 12\:23\:44 -0500")

Sam Steingold <sds@gnu.org> writes:

> "line-end-position" (0x29e02)
> "back-to-indentation" (0x2e0)
> "c-beginning-of-macro" (0x27bda8)
> "byte-code" (0xa5c7eab)
> "c-parse-state" (0x27bda8)
> "c-font-lock-complex-decl-prepare" (0x27d0b8)
> "font-lock-fontify-keywords-region" (0x27bda8)
> "font-lock-default-fontify-region" (0x27bda8)
> "font-lock-fontify-region" (0x27bda8)
> "run-hook-with-args" (0x840af31)
> "byte-code" (0x822f25b)
> "jit-lock-fontify-now" (0x27bed8)
> "jit-lock-stealth-fontify" (0x83178f9)
>
> the problem is that this unresponsiveness can last for MINUTES (I am not
> making this up!) and the periods of responsiveness can last for mere
> SECONDS.
>
> Even if it should, any input from me should immediately interrupt it -
> and I see my C-g "delayed" for minutes.

Since jit-lock-stealth fontify is run as an idle timer, any input
*does* interrupt it.  The only way this could fail is if the
c-font-lock functions interfere with this---either by somehow
resetting the idleness state, or (more likely) taking a very long
time.

If you provided a simple test case, I or someone else could take a
look at this problem.

  reply	other threads:[~2006-11-28 20:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 17:23 emacs hangs in jit-lock Sam Steingold
2006-11-28 20:03 ` Chong Yidong [this message]
2006-11-28 20:13   ` Sam Steingold
2006-11-30  0:12     ` Henrik Enberg
2006-11-30  4:21       ` Stefan Monnier
2006-11-30  4:37         ` Chong Yidong
2006-11-30  9:29         ` martin rudalics
2006-11-30 14:41           ` Stefan Monnier
2006-11-30 18:16             ` martin rudalics
2006-11-30 18:46               ` Stefan Monnier
2006-11-30 22:49                 ` martin rudalics
2006-12-01 13:37                 ` Richard Stallman
2006-12-01 15:56                   ` martin rudalics
2006-12-02 17:56                     ` Richard Stallman
2006-12-02 17:56         ` Richard Stallman
2006-12-04  0:19           ` Chong Yidong
2006-12-04 14:21             ` Richard Stallman
2006-11-28 22:17 ` martin rudalics
2006-11-29  3:29 ` Richard Stallman

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

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

  git send-email \
    --in-reply-to=87k61fibk5.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.