2010-09-22 ■ 覚え書き emacs replace-match で args-out-of-range error が出たらどっかで regexp matcher の内部状態が上書きされてます。match-data を保存して set-match-data しましょう。