Forum: Ruby emacs, rdebug, and ^M

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ted B. (Guest)
on 2009-04-22 04:04
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!
Michael M. (Guest)
on 2009-04-22 04:23
(Received via mailing list)
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.
=======================================================================
Ted B. (Guest)
on 2009-04-22 04:27
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.
This topic is locked and can not be replied to.