From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: cperl + isearch + font-lock-multiline sometimes very slow Date: Sun, 22 Oct 2006 22:34:15 +0200 Message-ID: <453BD5C7.4060804@gmx.at> References: <87hcxzd4zx.fsf@furball.mit.edu> <453A4373.7060807@gmx.at> <8764ecl0ja.fsf@furball.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161549395 22269 80.91.229.2 (22 Oct 2006 20:36:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Oct 2006 20:36:35 +0000 (UTC) Cc: Klaus Zeitler , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 22 22:36:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gbk3M-0001yp-6K for ged-emacs-devel@m.gmane.org; Sun, 22 Oct 2006 22:36:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gbk3L-0008Vi-Np for ged-emacs-devel@m.gmane.org; Sun, 22 Oct 2006 16:36:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gbk38-0008Uy-Gp for emacs-devel@gnu.org; Sun, 22 Oct 2006 16:36:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gbk36-0008UK-P5 for emacs-devel@gnu.org; Sun, 22 Oct 2006 16:36:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gbk36-0008UH-JI for emacs-devel@gnu.org; Sun, 22 Oct 2006 16:36:00 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1Gbk36-0003iP-C2 for emacs-devel@gnu.org; Sun, 22 Oct 2006 16:36:00 -0400 Original-Received: (qmail invoked by alias); 22 Oct 2006 20:35:58 -0000 Original-Received: from N778P020.adsl.highway.telekom.at (EHLO [62.47.41.52]) [62.47.41.52] by mail.gmx.net (mp046) with SMTP; 22 Oct 2006 22:35:58 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Chong Yidong In-Reply-To: <8764ecl0ja.fsf@furball.mit.edu> X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61007 Archived-At: > I managed to reproduce the bug, and figured out the problem. If > ps-print is already loaded, cperl-init-faces is called when > cperl-mode.el is loaded instead of when cperl-mode is run. However, > cperl-init-faces assumes cperl-font-lock-multiline is correctly set, > which is normally done at run-time; otherwise, it supplies the > incorrect font-lock keywords. I've checked in a fix. Good catch! Does this handle the other two bugs I reported too?