GNU bug report logs - #7736
24.0.50; perl-mode infinite loop

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 26 Dec 2010 00:19:01 UTC

Severity: normal

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7736 <at> debbugs.gnu.org, rfrancoise <at> debian.org, jidanni <at> jidanni.org
Subject: bug#7736: 24.0.50; perl-mode infinite loop
Date: Sat, 22 Jan 2011 20:18:34 -0500
jidanni <at> jidanni.org writes:

> Man, you gotta see this. On this attached file,
>
> save in /tmp, and run emacs -Q -nw /tmp/r.pl
>
> Now move the cursor down and attempt to change shttp to s[http .
> As you insert the [ an infinite loop begins.

This bug was apparently introduced by syntax-propertize on the trunk.
Stefan, could you take a look?

2010-09-10  Stefan Monnier  <monnier <at> iro.umontreal.ca>

   * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
   replace perl-font-lock-syntactic-keywords.
   (perl-syntax-propertize-special-constructs): New fun to replace
   perl-font-lock-special-syntactic-constructs.
   (perl-font-lock-syntactic-face-function): New fun.
   (perl-mode): Use it.




This bug report was last modified 14 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.