Date: Fri, 27 Oct 2006 11:39:42 -0800 From: "Peter A. Giessel" <pgiessel@mac.com> To: Noah <admin2@enabled.com> Cc: freebsd-questions@freebsd.org Subject: Re: replacing ^M with emacs Message-ID: <4542607E.8020101@mac.com> In-Reply-To: <45425D61.6030209@enabled.com> References: <45425D61.6030209@enabled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006/10/27 11:26, Noah seems to have typed: > How might I get emacs to search replace Put a mark right before the character (control-space) move to right after the character and cut the character (control-w). Move to the top of the document (esc-<) and start a "query replace" (esc-%). Yank in the character that you previously cut (control-y). Hit return (or enter) type in the character that you want to replace the ^M with, hit return (or enter) again. Enter "y" or "n" for each case...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4542607E.8020101>