unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ^M characters
@ 2008-10-22 20:29 Corey Foote
  2008-10-22 20:43 ` Parker, Matthew
  0 siblings, 1 reply; 6+ messages in thread
From: Corey Foote @ 2008-10-22 20:29 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]


I copied some text into an email buffer, but
each line ends with a funny colored character that looks like ^M. What are
these characters? How can I remove them without having to manually delete each
one? And how can I insert one myself?
_________________________________________________________________
Stay organized with simple drag and drop from Windows Live Hotmail.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008

[-- Attachment #2: Type: text/html, Size: 697 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.1834.1224707393.25473.help-gnu-emacs@gnu.org>]
* Re: ^M characters
@ 2008-10-23  9:49 roodwriter
  0 siblings, 0 replies; 6+ messages in thread
From: roodwriter @ 2008-10-23  9:49 UTC (permalink / raw)
  To: help-gnu-emacs

Corey Foote <coreyfoote@hotmail.com> writes:

> I copied some text into an email buffer, but each line ends with 
a funny
> colored character that looks like ^M. What are these characters? 
How can I
> remove them without having to manually delete each one?  And how 
can I
> insert one myself?
> 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> Stay organized with simple drag and drop from Windows Live 
Hotmail. Try it


I'm lazy. I just copy the ^M and then uses M-x replace-regexp. I 
paste (yank) the ^M into the command, hit <return> twice and let 
it rip. All gone faster than you can read this.

Once upon a time I made a macro that did this, but I rarely get 
Microsoft files anymore. (I use Linux.) They may have started out 
as Microsoft, but e-mail programs seem to convert them better now.

Rod



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-23 19:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 20:29 ^M characters Corey Foote
2008-10-22 20:43 ` Parker, Matthew
     [not found] <mailman.1834.1224707393.25473.help-gnu-emacs@gnu.org>
2008-10-22 21:25 ` Xah
2008-10-22 23:32   ` Mike Treseler
2008-10-23 19:55     ` Mike Treseler
  -- strict thread matches above, loose matches on Subject: below --
2008-10-23  9:49 roodwriter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).