From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Re: (cperl-mode) Problems with syntax highlighting after __DATA__ ! Date: Fri, 15 Oct 2010 06:57:53 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: References: <6dc535d1-ce05-449d-a3ff-d062f5e634d1@z28g2000vba.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291883806 31640 80.91.229.12 (9 Dec 2010 08:36:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 08:36:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 09:36:42 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQbzW-0006vE-IJ for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 09:36:42 +0100 Original-Received: from localhost ([127.0.0.1]:52009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQbzV-0000is-CI for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:36:41 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Date: Fri, 15 Oct 2010 06:57:53 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="LlLjF8LevGdIZWbTvv+SXA"; logging-data="19662"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QuU2QZO4WNRSof5MOYvnF" User-Agent: slrn/0.9.8.1pl1 (Linux) Cancel-Lock: sha1:D3VnoSa/sj85Al450ziQC0OY0yY= Original-Xref: usenet.stanford.edu gnu.emacs.help:181789 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76878 Archived-At: On 2010-10-13, LanX wrote: > Hi > > I have a perlscript processing a large HTML File (>5000 lines) > included after a __DATA__ directive. > > I can't scroll anymore thru the buffer because emacs always hangs when > trying to fontify the HTML code according to perl-syntax. > > I have no problems when I toggle font-lock-mode of. > > Shouldn't cperl stop highlighting after __DATA__ ? No. What follows __DATA__ is usually code. ;-) Still, this should better not happen. If you can reproduce the problem with v21 and "my" CPerl, I may try to look into it. (Highlighting in v22 and in v23 is more or less completely broken.) Ilya