replacing ^M with emacs
Giorgos Keramidas
keramida at ceid.upatras.gr
Fri Oct 27 19:42:54 UTC 2006
On 2006-10-27 12:26, Noah <admin2 at enabled.com> wrote:
> Hi there,
>
> It appears that a text editor placed a bunch on ^M throughout a text
> file I am working with. I assure this is equivalent to eh keystroke
> control-M.
Open the file in Emacs with:
M-x find-file-literally RET filename RET
and then replace all ^M occurences with the empty string, with:
M-x replace-string RET C-q C-m RET RET
The important trick here is that you use C-q to 'quote' the C-m
character in the substitution string :)
> also is there a mail list focused specifically on emacs usability?
> please refer me to it?
There are at least 2 USENET newsgroups where GNU Emacs questions can be
posted:
comp.emacs
gnu.emacs.help
I'm not sure about mailing lists, though.
Regards,
Giorgos
More information about the freebsd-questions
mailing list