From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Gottschalk Newsgroups: gmane.emacs.bugs Subject: bug#12373: 24.1; cperl-mode syntax highlighting Date: Wed, 31 Oct 2012 04:24:07 -0700 Message-ID: <10CD7D09B956904182E62EA9C26541A797B0F32024@HQMAIL02.nvidia.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1351682680 9565 80.91.229.3 (31 Oct 2012 11:24:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 11:24:40 +0000 (UTC) Cc: "12373@debbugs.gnu.org" <12373@debbugs.gnu.org> To: 'Stefan Monnier' Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 12:24:48 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TTWPf-0000c1-E0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 12:24:47 +0100 Original-Received: from localhost ([::1]:54800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTWPW-0002Tn-Rm for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 07:24:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTWPP-0002K5-OI for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 07:24:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTWPJ-0004IW-TR for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 07:24:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTWPJ-0004IS-Q4 for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 07:24:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTWRq-0006UR-AS for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 07:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Gottschalk Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Oct 2012 11:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12373 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12373-submit@debbugs.gnu.org id=B12373.135168280924929 (code B ref 12373); Wed, 31 Oct 2012 11:27:02 +0000 Original-Received: (at 12373) by debbugs.gnu.org; 31 Oct 2012 11:26:49 +0000 Original-Received: from localhost ([127.0.0.1]:40877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTWRc-0006U1-Sw for submit@debbugs.gnu.org; Wed, 31 Oct 2012 07:26:49 -0400 Original-Received: from hqemgate04.nvidia.com ([216.228.121.35]:2146) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTWRa-0006Tt-Mg for 12373@debbugs.gnu.org; Wed, 31 Oct 2012 07:26:48 -0400 Original-Received: from hqnvupgp05.nvidia.com (Not Verified[216.228.121.13]) by hqemgate04.nvidia.com id ; Wed, 31 Oct 2012 04:23:38 -0700 Original-Received: from hqemhub03.nvidia.com ([172.17.108.22]) by hqnvupgp05.nvidia.com (PGP Universal service); Wed, 31 Oct 2012 04:24:08 -0700 X-PGP-Universal: processed; by hqnvupgp05.nvidia.com on Wed, 31 Oct 2012 04:24:08 -0700 Original-Received: from HQMAIL02.nvidia.com ([172.20.150.111]) by hqemhub03.nvidia.com ([172.20.150.15]) with mapi; Wed, 31 Oct 2012 04:24:08 -0700 Thread-Topic: bug#12373: 24.1; cperl-mode syntax highlighting Thread-Index: Ac23C+tuEeVIk57cT3Oo4R+GSn7yBAATcNYQ In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66269 Archived-At: Hi, Stefan. =20 Thanks for looking at this. I tried your repro - and it works fine for me too. My apologies! =20 I will work up a better repro - or be happy that I can't make it happen! -stefan -----Original Message----- From: Stefan Monnier [mailto:monnier@iro.umontreal.ca]=20 Sent: Tuesday, October 30, 2012 10:03 PM To: Stefan Gottschalk Cc: 12373@debbugs.gnu.org Subject: Re: bug#12373: 24.1; cperl-mode syntax highlighting > Here's a real world sample input > $fileType_filesButNot =3D join( '|', map { quotemeta($_).'$'= =20 > } @{$fileType->{filesButNot}} ); Hmm... handling of $' in Perl is tricky, so I wouldn't be surprised if it s= till has bugs, but when I try a Perl file (using cperl-mode) with just the = above line in it, it is displayed correctly both by Emacs-23 and Emacs-24. = Here's the command I used to test: % emacs24 -Q --eval "(defalias 'cperl-mode 'perl-mode)" test/indent/perl.p= erl And here's the perl.perl file: #!/usr/bin/perl $fileType_filesButNot # bug#12373 =3D join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}}= ); Using `perl-mode' instead of `cperl-mode' also seems to work fine. Can you send us another test case that exhibits the problem? Stefan