[15765] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: ^M

daemon@ATHENA.MIT.EDU (Mike Barker)
Fri Jan 23 22:23:12 1998

To: Chun-Yi Wang <chunyi@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Fri, 23 Jan 1998 18:58:04 EST."
             <199801232358.SAA00641@swordfish.MIT.EDU> 
Date: Fri, 23 Jan 1998 22:23:10 EST
From: Mike Barker <mbarker@MIT.EDU>


I'm not sure what the FAQ recommends, but I think this will help you.

I assume you have a document containing ^M and you would like to
remove them?

I do this with ESC % (meta % - emacs goes to Query Replace:)

type ^q^m (control q control m) then return

(emacs shows Query replace ^M with:

type ^q^j (control q control j) then return

emacs will find the first ^M and query

Query replacing ^M with ^J: (? for help)

if you press space, it will replace this occurance and go to the next.
if you press !, emacs will replace all

hope this helps
Mike Barker
MIT Information Systems


home help back first fref pref prev next nref lref last post