From: Simon Josefsson <jas@extundo.com>
Cc: eliz@is.elta.co.il, bug-gnu-emacs@gnu.org
Subject: Re: font-lock latency
Date: Thu, 05 Sep 2002 05:58:47 +0200 [thread overview]
Message-ID: <ilu8z2h84ug.fsf@latte.josefsson.org> (raw)
In-Reply-To: <E17mmg1-0007E3-00@fencepost.gnu.org> (Richard Stallman's message of "Wed, 04 Sep 2002 22:47:25 -0400")
Richard Stallman <rms@gnu.org> writes:
> Doesn't help, the line is still incorrectly highlighted. I even tried
> pressing M-g M-g on every line of the buffer, but it was still wrong.
> C-l doesn't help either. Only way to get it right is to wait a few
> (3?) seconds.
>
> If some code that runs after 3 seconds gets it right,
> the first thing to do is find that code,
> and see how it gets the right results.
The code is `jit-lock-stealth-fontify'. I now realized that if I set
`jit-lock-stealth-time' to 0 _before_ I enable font-lock-mode, it does
what I want -- that is, update the buffer immediately.
jit-lock.el looks like voodoo to me, so I'm not going to try to find
out what caused the original problem. Unless it has negative
consequences, I think the default of `jit-lock-stealth-time' should be
changed to 0 so that this bug isn't visible. Assuming noone finds the
original cause of the problem, that is.
next prev parent reply other threads:[~2002-09-05 3:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 21:50 font-lock latency Simon Josefsson
2002-09-03 5:01 ` Eli Zaretskii
2002-09-03 10:21 ` Simon Josefsson
2002-09-03 16:17 ` Eli Zaretskii
2002-09-03 16:41 ` Simon Josefsson
2002-09-05 2:47 ` Richard Stallman
2002-09-05 3:58 ` Simon Josefsson [this message]
2002-09-09 1:33 ` Simon Josefsson
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=ilu8z2h84ug.fsf@latte.josefsson.org \
--to=jas@extundo.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=eliz@is.elta.co.il \
/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.