ablog

不器用で落着きのない技術者のメモ

emacs で制御文字を置換する

M-x replace-string(RET)
Replace string: ^M(RET)
Replace string ^M with:(RET) 

「^M」は「C-q C-m(Ctrl + q を押して、離して Ctrl + m を押す)」で入力する。
「(RET)」はReturnキーのこと。


[参考]
http://www.bookshelf.jp/soft/meadow_49.html#SEC705