From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; (perl mode) Minor fontification issue Date: Fri, 30 Nov 2007 14:19:56 -0500 Message-ID: References: <87d4trajax.fsf@leeloo.anubex.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196450424 13809 80.91.229.12 (30 Nov 2007 19:20:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2007 19:20:24 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Tim Van Holder Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 30 20:20:32 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IyBPU-0007xR-AS for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2007 20:20:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyBPE-0003DJ-2P for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2007 14:20:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IyBPA-0003CF-FI for emacs-devel@gnu.org; Fri, 30 Nov 2007 14:20:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyBP8-0003BV-GH for emacs-devel@gnu.org; Fri, 30 Nov 2007 14:20:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyBP8-0003BS-Aq for emacs-devel@gnu.org; Fri, 30 Nov 2007 14:20:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyBP8-0007Eh-3X for emacs-devel@gnu.org; Fri, 30 Nov 2007 14:20:02 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyBP7-00015m-PC for emacs-pretest-bug@gnu.org; Fri, 30 Nov 2007 14:20:01 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IyBP4-0007E1-N7 for emacs-pretest-bug@gnu.org; Fri, 30 Nov 2007 14:20:01 -0500 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyBP4-0007Dd-2Z for emacs-pretest-bug@gnu.org; Fri, 30 Nov 2007 14:19:58 -0500 Original-Received: from toip7.srvr.bell.ca ([209.226.175.124]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071130191957.HYPD17217.tomts5-srv.bellnexxia.net@toip7.srvr.bell.ca> for ; Fri, 30 Nov 2007 14:19:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAC/xT0dGN4zh/2dsb2JhbACBWw Original-Received: from bas1-montreal42-1178045665.dsl.bell.ca (HELO pastel.home) ([70.55.140.225]) by toip7.srvr.bell.ca with ESMTP; 30 Nov 2007 14:20:42 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A89BC7F61; Fri, 30 Nov 2007 14:19:56 -0500 (EST) In-Reply-To: <87d4trajax.fsf@leeloo.anubex.internal> (Tim Van Holder's message of "Fri, 30 Nov 2007 15:40:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84375 gmane.emacs.pretest.bugs:20394 Archived-At: > The following lines fontify correctly in cperl-mode, but not in > perl-mode: the first quote in the '(#JV.DEVT)' string literal does not > seem to register. Removing the { after the sub restores correct > fontification (but obviously breaks the code). > skipjv('CONT', sub { (job_variable_value('(#JV.DEVT)') eq 'TAPE'); }); > skipjv('CONT', sub { (job_variable_value('(#JV.DEVT)') eq 'CASS'); }); > skipjv('CONT', sub { (job_variable_value('(#JV.DEVT)') eq 'DISK'); }); > skipjv('ROBI', sub { (job_variable_value('(#JV.DEVT)') eq 'ROBI'); }); Thanks, I've just installed the patch below on the 22 branch. Stefan --- perl-mode.el.~1.72.~ 2007-08-25 16:22:26.000000000 -0400 +++ perl-mode.el 2007-11-30 14:14:55.000000000 -0500 @@ -266,7 +266,9 @@ ;; format statements ("^[ \t]*format.*=[ \t]*\\(\n\\)" (1 '(7))) ;; Funny things in sub arg specifications like `sub myfunc ($$)' - ("\\