[Top][All Lists]

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

bug#7736: 24.0.50; perl-mode infinite loop

From: Chong Yidong
Subject: bug#7736: 24.0.50; perl-mode infinite loop
Date: Sat, 22 Jan 2011 20:18:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

address@hidden 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  <address@hidden>

   * 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-syntactic-face-function): New fun.
   (perl-mode): Use it.

reply via email to

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