help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing control M


From: Yuri Khan
Subject: Re: Removing control M
Date: Sat, 1 Mar 2014 15:31:41 +0700

On Sat, Mar 1, 2014 at 2:55 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> If you visit a file normally, i.e. via "C-x C-f", you won't see any ^M
> characters at all.  You will see a "(DOS)" indication in the mode line
> instead.  This has been so since Emacs 20 at least.

That’s if all lines end in the DOS way, with ^M^J. But if some lines
have DOS line ends and others have Unix line ends, then Emacs chooses
the Unix format and displays ^M on DOS-ended lines.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]