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

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

Re: mac/dos/unix newline conversion without specify from


From: Stefan Monnier
Subject: Re: mac/dos/unix newline conversion without specify from
Date: Fri, 07 Dec 2007 11:27:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> Open a unix file, do replace-string from LF to CR. Save the file. Then
> start emacs with -q, open the file. It doesn't interprete the file as
> a mac os classic file but instead display newline char as ^M.

That's a good method if you like to get into trouble.

For those who prefer to do things right, then you can C-x RET f mac RET
and then C-x C-s, or alternatively just click twice on the ":" in the
left part of the mode line (the first time makes it change from unix to
dos, the second from dos to mac).


        Stefan


reply via email to

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