emacs-devel
[Top][All Lists]
Advanced

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

Re: decode_eol and inconsistent EOL


From: Eli Zaretskii
Subject: Re: decode_eol and inconsistent EOL
Date: Mon, 29 Apr 2002 07:54:02 +0300 (IDT)

On Sun, 28 Apr 2002, Stefan Monnier wrote:

> Look at the code: if there's an LF anywhere, the mac decoding fails
> and reverts to unix style eol.

Sure.  But what you suggest will cause it to revert to DOS style 
instead; that's a change.  All I'm saying is that we should consider
the Mac users when we make this change, in case it will somehow screw 
them.

> This is a current limitation of Emacs because it cannot distinguish
> (inside an Emacs buffer) between an "LF character" and an
> "eol character", so an LF char from a Mac-eol file cannot be decoded
> to an LF (since it would be encoded back as a CR).

Similar problems exist on Windows, although not with Emacs.



reply via email to

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