From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: decode_eol and inconsistent EOL Date: Mon, 29 Apr 2002 07:54:02 +0300 (IDT) Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204282240.g3SMeLr13023@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1020056251 8524 127.0.0.1 (29 Apr 2002 04:57:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 29 Apr 2002 04:57:31 +0000 (UTC) Cc: gildea@stop.mail-abuse.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1723EB-0002DN-00 for ; Mon, 29 Apr 2002 06:57:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1723Hm-0003Kf-00 for ; Mon, 29 Apr 2002 07:01:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1723Dv-0005qM-00; Mon, 29 Apr 2002 00:57:15 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1723CT-0005lR-00 for ; Mon, 29 Apr 2002 00:55:45 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id HAA22236; Mon, 29 Apr 2002 07:54:03 +0300 (IDT) X-Sender: eliz@is Original-To: Stefan Monnier In-Reply-To: <200204282240.g3SMeLr13023@rum.cs.yale.edu> Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3375 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3375 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.