bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ed and ^M: damages files unbeknownst to the user


From: Paul Jarc
Subject: Re: ed and ^M: damages files unbeknownst to the user
Date: Sat, 24 Nov 2001 20:38:14 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

Dan Jacobson <address@hidden> wrote:
>>>>>> "P" == Paul Jarc <address@hidden> writes:
> P> less would show you the carriage returns.  Emacs could be configured
> P> to do the same.
>
> Didn't see them here with
> $ LESS= less file
> on rxvt

Oops - less shows carriage returns, but only if they are not followed
by newlines.  -U will make it show all carriage returns (as well as
backspaces and tabs).

> Emacs indeed has a "(DOS)" appear in its modeline,

I meant that you can configure it to show you "^M" in the buffer
itself.  I'm not sure how, offhand, though.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]