help-emacs-windows
[Top][All Lists]
Advanced

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

RE: [h-e-w] The list is back up!


From: Raymond Zeitler
Subject: RE: [h-e-w] The list is back up!
Date: Wed, 10 Sep 2003 11:31:05 -0400

It's true that lines in text files are terminated with ^M^J under DOS
and the many flavors of Windows.  But the versions of Emacs I've used
(20.7 & 21.1) will translate ^J into ^M^J when the coding system is
undecided dos, the default.

Whenever I've seen ^M, it's usually because I'm opening a file that
Emacs thinks is Unix and uses that coding system.

Perhaps you're using a version of Emacs that's installed under Cygwin?
That might influence Emacs' choice of coding system.  Or maybe you're
opening a file on a Unix server?  

-----Original Message-----
Date: Tue, 9 Sep 2003 14:58:40 -0700
From: "C. R. Oldham" <address@hidden>
Subject: RE: [h-e-w] The list is back up!
To: <address@hidden>
Cc: address@hidden
 
> On the WinTel platform, Ctrl-Q Ctrl-J would represent CR/LF.

No, I disagree.  Windows' line ending convention is CR LF (^M^J).
That's why when you open a file that came from a Windows box in Emacs
without coding system translation enabled you see

Line1^M
Line2^M
Line3^M

--cro




reply via email to

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