all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: I seek QA for CPerl 5.2 (Emacs mode)
Date: Tue, 18 Oct 2005 23:45:54 +0000 (UTC)	[thread overview]
Message-ID: <dj41fi$2cal$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.
> 
> Eg, If I unpack the Module::Build distribution into two different 
> directories, then load copies of Module/Build/Base.pm from each 
> location, the second buffer becomes slow. The original buffer and any 
> others are not affected. If I close both buffers, then open the same 
> file again, the new buffer is also slow-I must exit emacs and restart 
> before I can work with that particular file because of slowdown.

> This is on Debian (testing) with GNU Emacs 21.4.1.

Confirmed on 21.2.  This effect disappears if I switch to an older
version of font-lock (e.g., one on
  ilyaz.org/software/tmp/font-lock-old.zip
).  One does not need to load the same file or a large file; two files
of size about 80K show the same slowdown in
fontification-by-keywords.  (I used Build.pm and Build/Base.pm.)

Go to the ends of both buffers, then start to scroll back - it is
painfully slow in one of the buffers...

I have no idea how to debug this...  My conjecture is that newer
Font-lock somehow starts to think that it needs to fontify the full
buffer instead of doing only the visible part...

Yours,
Ilya

  reply	other threads:[~2005-10-18 23:45 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 [this message]
2005-10-19  2:14     ` Randy W. Sims
2005-10-19  0:43   ` Bug in font-lock? Was: QA for CPerl 5.2 Ilya Zakharevich
2005-10-19  7:16   ` I seek QA for CPerl 5.2 (Emacs mode) 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='dj41fi$2cal$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.