GNU bug report logs -
#15778
24.3; cperl-mode causes emacs to lock up
Previous Next
Reported by: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Date: Fri, 1 Nov 2013 11:21:02 UTC
Severity: normal
Found in version 24.3
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
On Sun, 03 Nov 2013 08:59:02 -0500 Nathan Trapuzzano <nbtrap <at> nbtrap.com> wrote:
> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> I also tried and failed to get Edebug to kick in here, but I did make an
>> observation that surprised me but I assume is somehow relevant: if I
>> start Emacs with -Q, insert your sample perl code in a new buffer,
>> invoke cperl-mode, go to line 44 and type C-k, Emacs hangs, as you
>> discovered -- but if, after starting with -Q and inserting the sample
>> code I first invoke perl-mode and after the buffer fontifies invoke
>> cperl-mode, now when I go to line 44, C-k kills the line as it should
>> and there is no other problem, even if I then change the buffer to some
>> other mode and then back to cperl-mode again.
>
> Since there seems to be inconsistend behavior, would you mind trying my
> patch and making sure none of the scenarios you've tried so far causes
> Emacs to hang?
After applying your patch and byte-compiling the patched cperl-mode.el,
the above recipe no longer makes Emacs infloop. (It still infloops when
I just apply the patch and evaluate the patched
cperl-font-lock-fontify-region-function without compiling the library).
Steve Berman
This bug report was last modified 11 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.