emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs hangs in jit-lock


From: Sam Steingold
Subject: Re: emacs hangs in jit-lock
Date: Tue, 28 Nov 2006 15:13:43 -0500
User-agent: Thunderbird 1.5.0.7 (X11/20060913)

Chong Yidong wrote:
Sam Steingold <address@hidden> 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.

whatever the reason, C-g does not interrupt this multi-minute process.

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

I don't think this problem has a "simple test case".
wget http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/lispbibl.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/stream.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/io.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/eval.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/pathname.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/sequence.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/array.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/foreign.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/spvw.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/charstrg.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/hashtabl.d http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/emacs/d-mode.el

then load d-mode.el, associate d-mode with *.d, open all the *.d files and try to edit, say, lispbibl.d close to the end of file.

Thanks.
Sam.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]