平衡点
2014/12/10
_ migemo-el のエラー
Emacs 24.4 + cmigemo + migemo-el(emacs-jp版)で,たまに以下のエラー. (「保険」を探そうとして HoKe の段階で出た backtrace )
Debugger entered--Lisp error: (invalid-regexp "Unmatched [ or [^") re-search-backward("\\(保[[:space:]^M\n]*[険健]\\|ホ[[:space:]^M\n]*ケ[[:space:]^M\n]*[ンノネヌニナ]\\|ほ[[:space:]^M\n]*け[[:space:]^M\n]*[んのねぬにな]\\|h[[:space:]^M\n]*o[[:space:]^M\n]*k[[:space:]^M\n]*e[[:space:]^M\n]*n\\|h[[:space:]^M\n]*o[[:space:]^M\n]*k[[:space:]^M\n]*e[[:space:]^M" 71698 t) isearch-lazy-highlight-search() byte-code("\306^X\307 ^Yr\310\216\311\n!\203^Y^@\312 \n=\204^Y^@\313\n!\210\212\314 ^[\315\216\f\203'^@^M\202)^@^N^]b\210^N^^\203^K^A\316 ^^^_^N \203G^@^N S\211^V \317X\203G^@\306^V^^^N^_\203\315^@\317\224\317\225^^!\211^^\"^N!U\203\232^@\f\203}^@^N\"^N#\203k^@^N^]\202m^@\320 U\203w^@\306^V^_\202\300^@\321u\210\202\300^@^N\"^N#\203\210^@^M\202\212^@\322 U\203\224^@\306^V^_\202\300^@\323u\210\202\300^@\324^N\"^N!\"\211^^$^N%B^V%\325^N$\326\327#\210\325^N$\330^N&#\210\325^N$\331\312 #\210)\f\203\311^@`^U\202\314^@`^V^]*^N^_\204^G^A^N#\203\340^@\306^V^^\332^V'\202^G^A\332^V#\f\203\370^@\322 ^U^N(\206\360^@e\322 ]b\210\202^G^A\320 ^V^]^N)\206^B^Ad\320 ^b\210)\202+^@^N'?\205^Z^A\333^N*\306\334#\211^V+.^G\207" [inhibit-quit save-selected-window--state isearch-lazy-highlight-window save-match-data-internal isearch-lazy-highlight-forward isearch-lazy-highlight-end nil internal--before-save-selected-window ((internal--after-save-selected-window save-selected-window--state)) window-live-p selected-window select-window match-data ((byte-code "\301^H\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) isearch-lazy-highlight-search 0 window-end 1 window-start -1 make-overlay overlay-put priority 1000 face window t run-at-time isearch-lazy-highlight-update isearch-lazy-highlight-start looping found max me mb isearch-lazy-highlight-wrapped ov isearch-lazy-highlight-overlays lazy-highlight-face nomore isearch-lazy-highlight-start-limit isearch-lazy-highlight-end-limit lazy-highlight-interval isearch-lazy-highlight-timer] 5) isearch-lazy-highlight-update() apply(isearch-lazy-highlight-update nil) byte-code("r\301^H\302H^H\303H\"\210)\301\207" [timer apply 5 6] 4) timer-event-handler([t 0 0 250000 nil isearch-lazy-highlight-update nil idle 0])
なんか,timer まわりの変更で悲鳴上がってた気がするんだけれど,なんだったっけ?
とりあえず
(setq migemo-isearch-min-length 2) (setq migemo-use-frequent-pattern-alist nil)
が必要だなぁ. 今回のは後者が原因.