Emacs 23.1.1 i386-mingw-nt5.1.2600 (from ftp.gnu.org) on WinXP SP3.
- Start emacs -Q .
- C-x C-f ~/foo.txt, creating a new file.
- Enter text:
Line 1
Line 2
- C-x C-s.
- dos2unix ~/foo.txt
- M-x revert-buffer
Nothing changes in the mode line. Mousing over the \ in -1\--- shows "End-of-line style: DOS-style CRLF".
- C-x k RET
- C-x C-f ~/foo.txt
Mode line shows --(Unix)---.