From: Sam Steingold <sds@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: emacs hangs in jit-lock
Date: Tue, 28 Nov 2006 15:13:43 -0500 [thread overview]
Message-ID: <456C9877.7020905@gnu.org> (raw)
In-Reply-To: <87k61fibk5.fsf@stupidchicken.com>
Chong Yidong wrote:
> 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.
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.
next prev parent reply other threads:[~2006-11-28 20:13 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
2006-11-28 20:13 ` Sam Steingold [this message]
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=456C9877.7020905@gnu.org \
--to=sds@gnu.org \
--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.