[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opening mac text files in XEmacs
On Mon, 9 Nov 1998, 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 unixtext automatically, so I can use that to
> convert it, but I'd rather use XEmacs.
>
In "Query replace:" minibuffer type C-q C-m <Enter>
In "Qurey replace with:" type C-q C-j <Enter>
That will do what you want. (C-q is the "quote" sequence, see manuals
form more info).
Regards,
Andre.
--
================================================================
# Andre E. Bar'yudin #
# Home page: http://www.cs.huji.ac.il/~baryudin #
# E-mail: baryudin@pob.huji.ac.il #
# E-mail: baryudin@cs.huji.ac.il #
# Phone: (972)-53-812-026 #
================================================================