Emacs, rdebug, and ^M

This is hopefully a simple issue, but google has not found me an answer
yet.

I’m just starting to learn Ruby, and my IDE of choice is Emacs. I’ve
installed the emacs extensions, and can run “rdebug” within a ruby
buffer and it does the right thing, but all of the RDEBUG frames display
‘^M’ at the end of the lines. While not a big issue, it does clutter
the spaces unnecessarily.

How can I disable/remove/hide the ^M in these buffers?

Thanks!

Ted Beatie wrote:

Thanks!

this is indicative of dos line endings… Don’t know how to sort it
out, but it’s a starting point

=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.

Michael M. wrote:

this is indicative of dos line endings… Don’t know how to sort it
out, but it’s a starting point

I figure it’s some sort of translation issue, but it only appears in the
RDEBUG emacs frames, and doesn’t appear in the Ruby or Debugger frames.
Googling gives various hits for search-and-replacing in text files, but
turns up nothing about debugging buffers.