From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Bug in font-lock? Was: QA for CPerl 5.2
Date: Wed, 19 Oct 2005 00:43:27 +0000 (UTC) [thread overview]
Message-ID: <dj44rf$2dj8$1@agate.berkeley.edu> (raw)
In-Reply-To: 435556D7.7030303@thepierianspring.org
[A complimentary Cc of this posting was sent to
Randy W. Sims
<RandyS@thepierianspring.org>], who wrote in article <435556D7.7030303@thepierianspring.org>:
> One wierd problem I find is if I load two copies of a certain file it
> becomes develishly slow to do anything, even scrolling. This doesn't
> seem to happen on all files; not sure if it's size or content related yet.
I suspect it is a bug in font-lock.el: in the copy I have
`font-lock-fontify-anchored-keywords' uses the variable `limit' to set
text-property 'font-lock-multiline. I would think it should have used
not this estimate from above, but the actual value of (point) after
doing the `while' loop for this purpose.
This bug may cause a major slow-down, although I do not know why it
shows only with two buffers in CPerl mode...
It is hard to work-around this bug; one needs a way to calculate the
limit in advance, which may be tricky. I need to think more about
this...
Thanks,
Ilya
next prev parent reply other threads:[~2005-10-19 0:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-18 1:45 I seek QA for CPerl 5.2 (Emacs mode) Ilya Zakharevich
2005-10-18 20:11 ` Randy W. Sims
2005-10-18 23:45 ` Ilya Zakharevich
2005-10-19 2:14 ` Randy W. Sims
2005-10-19 0:43 ` Ilya Zakharevich [this message]
2005-10-19 7:16 ` Ilya Zakharevich
[not found] ` <200510190716.j9J7GWWf021292@powdermilk.math.berkeley.edu>
2005-10-19 19:52 ` Randy W. Sims
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='dj44rf$2dj8$1@agate.berkeley.edu' \
--to=nospam-abuse@ilyaz.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.