我使用以下功能(忘了找到它):
(defun hide-ctrl-M () "Hides the disturbing '^M' showing up in files containing mixed UNIX and DOS line endings." (interactive) (setq buffer-display-table (make-display-table)) (aset buffer-display-table ?\^M []))