unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Klaus Zeitler <kzeitler@lucent.com>
Cc: martin rudalics <rudalics@gmx.at>, emacs-devel@gnu.org
Subject: Re: cperl + isearch + font-lock-multiline sometimes very slow
Date: Mon, 23 Oct 2006 10:37:53 +0200	[thread overview]
Message-ID: <q5gac3nzau6.fsf@sfsw51.de.lucent.com> (raw)
In-Reply-To: <8764ecl0ja.fsf@furball.mit.edu> (Chong Yidong's message of "Sun\, 22 Oct 2006 13\:31\:53 -0400")

>>>>> "Chong" == Chong Yidong <cyd@stupidchicken.com> writes:
    Chong> 
    Chong> I managed to reproduce the bug, and figured out the problem.  If
    Chong> ps-print is already loaded, cperl-init-faces is called when

Odd dependency. Just out of curiosity (if it isn't too complicated), what was
the reason?

    Chong> cperl-mode.el is loaded instead of when cperl-mode is run. However,
    Chong> cperl-init-faces assumes cperl-font-lock-multiline is correctly
    Chong> set, which is normally done at run-time; otherwise, it supplies the
    Chong> incorrect font-lock keywords.  I've checked in a fix.

Works great now, stealth fontification is now below 3% CPU. Many thanks.

Martin, I guess I don't need to try your patch? If you still want me to try
it, let me know.

Klaus

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler@lucent.com  |
 ------------------------------------------
---
When I get real bored, I like to drive downtown and get
a great parking spot, then sit in my car and count how
many people ask me if I'm leaving.     -- Steven Wright

  parent reply	other threads:[~2006-10-23  8:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19  6:21 cperl + isearch + font-lock-multiline sometimes very slow Klaus Zeitler
2006-10-19  7:48 ` Richard Stallman
2006-10-19 11:26   ` Kim F. Storm
2006-10-20  6:06     ` Richard Stallman
2006-10-20  3:45 ` Chong Yidong
2006-10-20 12:05   ` Klaus Zeitler
2006-10-20 12:50     ` Chong Yidong
2006-10-20 22:52       ` Chong Yidong
2006-10-21 15:57     ` martin rudalics
2006-10-22 17:31       ` Chong Yidong
2006-10-22 20:34         ` martin rudalics
2006-10-22 21:01           ` Chong Yidong
2006-10-23  8:37         ` Klaus Zeitler [this message]
2006-10-23 20:25           ` Stefan Monnier
2006-10-23 20:52             ` Stefan Monnier
2006-10-22  9:57     ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=q5gac3nzau6.fsf@sfsw51.de.lucent.com \
    --to=kzeitler@lucent.com \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).