[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 <joostkremers@yahoo.com> 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.