bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14343: 24.3; cperl font-lock (highlighting) bug after copy-paste


From: Stefan Monnier
Subject: bug#14343: 24.3; cperl font-lock (highlighting) bug after copy-paste
Date: Mon, 06 May 2013 14:19:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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 <<EOF;
> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]