替换全部指定字段: M-x replace-string<enter></enter> 例子:(注意需要事先选中你想替换的文本呢区域) M-x replace-string abc def 就把所有abc替换成了def 参考: Emacs批量替换文本的方法