From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: Removing control M Date: Sat, 01 Mar 2014 10:45:17 -0500 Organization: A noiseless patient Spider Message-ID: References: <1393618592227-315636.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393689013 13911 80.91.229.3 (1 Mar 2014 15:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2014 15:50:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 01 16:50:21 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJmBB-0008Cl-EC for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Mar 2014 16:50:21 +0100 Original-Received: from localhost ([::1]:60105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJmBB-0006wh-25 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Mar 2014 10:50:21 -0500 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Injection-Info: mx05.eternal-september.org; posting-host="189748f827f5005aa08ac3cba2786117"; logging-data="6279"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+NrV7/YLHLfKDQ3JIdEEI5iAIYXntVIU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:87R66hmOrMFND+5EYA6L26WARHg= sha1:6YbDMkZc7vCEGZxZoqjvOeuAXsQ= Original-Xref: usenet.stanford.edu gnu.emacs.help:203971 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96240 Archived-At: Eli Zaretskii writes: >> From: Dan Espen >> Date: Fri, 28 Feb 2014 16:25:41 -0500 >> >> To remove the control M's, just use Emacs normal find replace. >> To type a ^M. type ^Q first. > > When (in what Emacs version) did you last try that, and it worked? Don't exactly remember, it seems to me I did that not so long ago. > If you visit a file normally, i.e. via "C-x C-f", you won't see any ^M > characters at all. You will see a "(DOS)" indication in the mode line > instead. This has been so since Emacs 20 at least. I think that's right. I might have encountered ^Ms in only part of the file, not the whole file. But the OP talked about seeing them and fixing them with Emacs. I wonder if he saw them in Emacs and what version. -- Dan Espen