From: Ulrich Mueller <ulm@gentoo.org>
To: <emacs-devel@gnu.org>
Subject: Regression in 22.2 jit-lock?
Date: Fri, 28 Mar 2008 19:06:47 +0100 [thread overview]
Message-ID: <18413.13239.102103.522313@a1ihome1.kph.uni-mainz.de> (raw)
[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 708 bytes --]
Not sure if the following is a regression, or just an incompatible
change.
When editing some 500 line bash script today, I had the impression
that editing was quite sluggish in 22.2, as compared to 22.1.
I've prepared a minimal example to reproduce the different behaviour:
1. Open attached file test.sh with "emacs -Q"
2. Remove one of the double quotes inside function foo()
While in 22.1 fontification of function bar() is delayed by 0.5
seconds, namely the default value of jit-lock-context-time, it is
immediate in 22.2. For large buffers this leads to the sluggish
behaviour mentioned above.
Is it possible that jit-lock-context-time is no longer honoured under
some circumstances?
Ulrich
[-- Attachment #2: test.sh --]
[-- Type: text/plain, Size: 114 bytes --]
#!/bin/bash
foo() {
echo "it's a test"
}
bar() {
cat <<-EOF >baz.el
;;; baz.el
(require 'quux)
EOF
}
next reply other threads:[~2008-03-28 18:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 18:06 Ulrich Mueller [this message]
2008-03-28 21:58 ` Regression in 22.2 jit-lock? Chong Yidong
2008-03-29 4:16 ` Stefan Monnier
2008-03-29 7:12 ` Ulrich Mueller
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=18413.13239.102103.522313@a1ihome1.kph.uni-mainz.de \
--to=ulm@gentoo.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.