1.emacs 里面打开 windows 的文本,每行行尾都会显示一个 ^M,有伤大雅,看着 别扭,影响思维等等罪名不一而足。如果这个事情和 emacs 无关,linux 下面专 门有工具干这个事情,叫 dos2unix。
2.Emacs 当然可以做这件事情:
M-x replace-string C-q C-m RET
The control-q will allow you to type control characters into the input buffer.
1.emacs 里面打开 windows 的文本,每行行尾都会显示一个 ^M,有伤大雅,看着 别扭,影响思维等等罪名不一而足。如果这个事情和 emacs 无关,linux 下面专 门有工具干这个事情,叫 dos2unix。
2.Emacs 当然可以做这件事情:
M-x replace-string C-q C-m RET
The control-q will allow you to type control characters into the input buffer.