bug#11966: 24.1; cperl-mode with evil-mode causes hang on syntax-propert
From:
JC Petkovich
Subject:
bug#11966: 24.1; cperl-mode with evil-mode causes hang on syntax-propertize
Date:
Tue, 17 Jul 2012 15:04:04 -0400
Emacs hangs on the creation of a newline with evil-ret when in a cperl buffer with some POD documentation after the __END__. This doesn't appear to be a bug in evil, but instead a bug in cperl or syntax-propertize,
but I can't tell for sure.
I can reproduce it with emacs -Q and the following configuration:
;; evil-error-reproduce.el: (defalias 'perl-mode 'cperl-mode) (add-to-list 'load-path "<path to evil>") (require 'evil)
(evil-mode 1) ;; end evil-error-reproduce.el
Once this config is evaluated, open a .pl file which has POD after __END__ like the following:
and open a newline after the print statement with evil-ret (bound to RET when in insert mode by default). I haven't been able to get further than
this in debugging this problem.
Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t
Major mode: CPerl
Minor modes in effect: evil-mode: t evil-local-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t
font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t
Recent input: r <tab> r e m <tab> r e <tab> <return> j j j j j j
j j j j j j j j j j j j j j j j j j j j j k o <return> ESC j j j j V G d g g j j k k V j j j j d j j j j j j j j j j j j j j j j j j j j j j j j j k k i <return> <return> <backspace> <backspace> ESC u u j j j j j
j j j j j j j j j j j j j j j j j j j i <backspace> <return> <return> ESC u u u u u u k k k g g j j j j j j j j j j j j j j j j j j j j j j j j j j j j j j j j k k k k g g V j j j j j k d j j j j j j j j j j
j j j j j j j j j j j j j j i <return> C-g ESC u j j j j j V G d k k k k k i i <backspace> <return> C-g ESC u C-x b C-g C-x C-b C-g C-x b s c C-g C-x C-f C-g C-x b s c r <tab> <return> C-x 1 j j o <return> <return>
<return> ESC M-j M-j p k A C-x C-e ESC C-x C-b r e m <tab> C-g C-x C-g C-x b <tab> <return> M-1 C-x 1 i <return> C-g ESC k d d M-x r e p o <tab> r <tab> <return>
Recent messages: Quit [2 times] Undo! Quit [4 times] byte-code: End of buffer [2 times] t End of line Quit Making completion list... Quit [2 times] Making completion list...