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

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

Re: How to get rid of annoying ^M lineendings


From: Michael Heerdegen
Subject: Re: How to get rid of annoying ^M lineendings
Date: Fri, 18 Jul 2014 07:44:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

Joost Kremers <address@hidden> writes:

> IME this is only a problem when line endings in a file are not consistent.
> so my advice would be to make sure each file only has one kind of line
> ending, then emacs will simply detect the format correctly and will tell
> you in the mode line you're editing a DOS file, and won't show the ^M
> characters.

And if Emacs fails to detect the coding correctly:

   (info "(emacs) Specify Coding")


Michael.




reply via email to

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