[2010-09-01 03:09:24] >>>[emacs] 矩形選択した時に連番を挿入したい.そのための布石 参考:cua-modeで矩形選択した部分に連番を挿入する replace-regexpで置換文字列にLisp式を書けるらしい(from ZDNet JP) ので,replace-regexpのドキュメントをえせ翻訳してみた. 参考程度にどうぞ. replace-regexp は replace.elで定義されている関数.次のは引数 (replace-regexp regexp to-string &optional delimited start end) regexpにマッチした文字列をto-stringに置き換える 変数case-replaceと変数case-fold-searchがnon-nilで,regexpに大文字がなかったら,大文字小文字を保持する. transi