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#14343: 24.3; cperl font-lock (highlighting) bug after copy-paste Date: Mon, 06 May 2013 14:19:13 -0400 Message-ID: References: <87txmk5b2z.fsf@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1367869036 19293 80.91.229.3 (6 May 2013 19:37:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 May 2013 19:37:16 +0000 (UTC) Cc: 14343@debbugs.gnu.org, jon@jrock.us To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 06 21:37:15 2013 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 1UZRDn-0002oE-OK for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2013 21:37:15 +0200 Original-Received: from localhost ([::1]:41902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZRDn-0007vy-CR for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2013 15:37:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZRDj-0007vq-Ij for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 15:37:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZRDb-0007tT-LN for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 15:37:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZRDb-0007tP-Hu for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 15:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UZREX-0006qh-QU for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 15:38:01 -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: Mon, 06 May 2013 19:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14343-submit@debbugs.gnu.org id=B14343.136786904426210 (code B ref 14343); Mon, 06 May 2013 19:38:01 +0000 Original-Received: (at 14343) by debbugs.gnu.org; 6 May 2013 19:37:24 +0000 Original-Received: from localhost ([127.0.0.1]:60188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZRDv-0006oh-PH for submit@debbugs.gnu.org; Mon, 06 May 2013 15:37:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:50408) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZRDt-0006oY-TD for 14343@debbugs.gnu.org; Mon, 06 May 2013 15:37:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZ1K/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GDMEdBJEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFFpZ1K/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GDMEdBJEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="11391958" Original-Received: from 69-165-157-74.dsl.teksavvy.com (HELO pastel.home) ([69.165.157.74]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 May 2013 15:36:17 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 322D96A4CE; Mon, 6 May 2013 14:19:13 -0400 (EDT) In-Reply-To: <87txmk5b2z.fsf@xvii.vinc17.org> (Vincent Lefevre's message of "Fri, 03 May 2013 17:37:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.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.x 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:74019 Archived-At: > It seems that Emacs lost my bug report. :( Let's try again... > Under X Window (so that Emacs has its own interface), open a file > cperl-font-lock-string starting with: > #!/usr/bin/env perl > # -*- mode: cperl -*- > print < foo > bar > EOF [...] > Triple-click on the "foo" line and click with the middle mouse button > to paste. All the lines starting with the second "foo" get colored in > red. A "simpler" recipe (which involves less code) is to go just before "bar" and do M-: (insert "a") RET > This happens with the Debian package emacs24 24.3+1-1 and this is > a regression in GNU Emacs 24. No problems with Emacs 23. The "simpler" recipe fails in Emacs-23 as well (i.e. the change is due to the way select+paste changed, rather than to a change in cperl). It also fails with the "non-Emacs" cperl-mode-5.23 I got from https://raw.github.com/jrockway/cperl-mode/master/cperl-mode.el, so it looks like it's not due to our messing things up. Stefan