From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12373: 24.1; cperl-mode syntax highlighting Date: Tue, 30 Oct 2012 22:03:25 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351649073 23298 80.91.229.3 (31 Oct 2012 02:04:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 02:04:33 +0000 (UTC) Cc: 12373@debbugs.gnu.org To: Stefan Gottschalk Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 03:04:41 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 1TTNfd-0001Ya-EY for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 03:04:41 +0100 Original-Received: from localhost ([::1]:44324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTNfU-0007HF-Qy for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2012 22:04:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTNfS-0007GV-NU for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 22:04:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTNfR-0006Dz-3R for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 22:04:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTNfR-0006Dn-0U for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 22:04:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTNhu-0001OK-Te for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 22:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Oct 2012 02:07: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.13516491645284 (code B ref 12373); Wed, 31 Oct 2012 02:07:02 +0000 Original-Received: (at 12373) by debbugs.gnu.org; 31 Oct 2012 02:06:04 +0000 Original-Received: from localhost ([127.0.0.1]:40357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTNgy-0001NB-6s for submit@debbugs.gnu.org; Tue, 30 Oct 2012 22:06:04 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:1735) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTNgv-0001Ml-P0 for 12373@debbugs.gnu.org; Tue, 30 Oct 2012 22:06:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+LET/2dsb2JhbABEtBGBCIIVAQEEAScvIwULCw4mEhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="203198049" Original-Received: from 206-248-177-19.dsl.teksavvy.com (HELO pastel.home) ([206.248.177.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 Oct 2012 22:03:26 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D8DB159419; Tue, 30 Oct 2012 22:03:25 -0400 (EDT) In-Reply-To: (Stefan Gottschalk's message of "Thu, 6 Sep 2012 09:49:44 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) 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:66257 Archived-At: > Here's a real world sample input > $fileType_filesButNot = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} ); Hmm... handling of $' in Perl is tricky, so I wouldn't be surprised if it still 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.perl And here's the perl.perl file: #!/usr/bin/perl $fileType_filesButNot # bug#12373 = 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