[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opening mac text files in XEmacs
Itamar S.-T. wrote:
>
> When I open a mac text file in XEmacs (v20.3) all the line-breaks are written as
> ^M. I want to convert them into newlines. Searching for the ^M is easy, but I
> can't figure out how to replace them with a newline.
>
> GNU Emacs converts the file into unix text automatically, so I can use that to
> convert it, but I'd rather use XEmacs.
Do M-x replace-string ^M to \n
\n stands for the newline character.
--
Leandro Guimaraens Faria Corcete Dutra
Amdocs Brasil Ltda