[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to delete ^M
From: |
Joe Fineman |
Subject: |
Re: How to delete ^M |
Date: |
12 May 2003 18:20:14 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
"Wang, Zhu" <zhuw@mail.smu.edu> writes:
> Each line of a file ended by ^M. I think this is caused by
> 'ENTER'. How can I delete them simultaneously?
I have found the following tool useful:
(defun ridm ()
"Remove intrusive CTRL-Ms from the buffer"
(interactive)
(save-excursion
(goto-char (point-min))
(replace-string "\C-m\C-j" "\C-j")))
--
--- Joe Fineman jcf@TheWorld.com
||: Be inobviously tuitive. ||
- How to delete ^M, Wang, Zhu, 2003/05/12
- Re: How to delete ^M, address@hidden, 2003/05/12
- Re: How to delete ^M,
Joe Fineman <=
- Re: How to delete ^M, Eric Hanchrow, 2003/05/12
- RE: How to delete ^M, Wang, Zhu, 2003/05/12
- RE: How to delete ^M, Wang, Zhu, 2003/05/12