all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Removing control M
Date: Fri, 28 Feb 2014 16:25:41 -0500	[thread overview]
Message-ID: <ic7g8f53qi.fsf@home.home> (raw)
In-Reply-To: mailman.16317.1393620062.10748.help-gnu-emacs@gnu.org

>>>>> "Jai" == Jai Dayal <dayalsoap@gmail.com> writes:

    Jai> dos2unix is not an emacs command, but a shell command.
    Jai> On Fri, Feb 28, 2014 at 3:16 PM, peaches20 <watson1724@comcast.net> wrote:

    >> Hi,
    >> 
    >> I've transferred several dos files to unix.  I now have the
    >> control M at tne end of the line.  How does one remove this
    >> globally.  I tried the dos2unis but that is not in my emacs
    >> commands.

To remove the control M's, just use Emacs normal find replace.
To type a ^M. type ^Q first.

A normally operating ftp program would have converted line endings
automatically assuming you used ascii mode (not binary).

-- 
Dan Espen


  parent reply	other threads:[~2014-02-28 21:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 20:16 Removing control M peaches20
2014-02-28 20:40 ` Jai Dayal
2014-02-28 20:43   ` peaches20
2014-02-28 20:44     ` Jai Dayal
2014-02-28 21:01 ` Bob Proulx
     [not found] ` <mailman.16317.1393620062.10748.help-gnu-emacs@gnu.org>
2014-02-28 21:25   ` Dan Espen [this message]
2014-02-28 21:44     ` Mike Ray
2014-03-01  7:55     ` Eli Zaretskii
2014-03-01  8:31       ` Yuri Khan
2014-03-01  9:00         ` Eli Zaretskii
     [not found]     ` <mailman.16341.1393660562.10748.help-gnu-emacs@gnu.org>
2014-03-01 15:45       ` Dan Espen
2014-03-12 14:26 ` Ken Goldman
     [not found] <mailman.16316.1393619959.10748.help-gnu-emacs@gnu.org>
2014-02-28 23:02 ` Joe Fineman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ic7g8f53qi.fsf@home.home \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.