[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opening mac text files in XEmacs
"Andre E. Bar'yudin" <baryudin@pob.huji.ac.il> writes:
> 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>
NOT "query replace"! It will *query* you for every ^M! Use
replace-string as described in my follow-up.
--
Oleg Goldshmidt goldshmt@netvision.net.il
BLOOMBERG L.P. (BFM) oleg@bfr.co.il