From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: problem with system_eol_type Date: Mon, 31 Jul 2006 12:30:26 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1154363452 3013 80.91.229.2 (31 Jul 2006 16:30:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2006 16:30:52 +0000 (UTC) Cc: mule-ja@m17n.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 31 18:30:49 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G7afC-0003PI-Bn for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 18:30:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7afB-00026a-OH for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 12:30:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7aey-000244-QX for emacs-devel@gnu.org; Mon, 31 Jul 2006 12:30:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7aew-000213-UX for emacs-devel@gnu.org; Mon, 31 Jul 2006 12:30:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7aew-00020u-O5 for emacs-devel@gnu.org; Mon, 31 Jul 2006 12:30:26 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7ahe-0001iA-0H for emacs-devel@gnu.org; Mon, 31 Jul 2006 12:33:14 -0400 Original-Received: from localhost ([70.55.140.127]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060731163025.SOFK1747.tomts25-srv.bellnexxia.net@localhost>; Mon, 31 Jul 2006 12:30:25 -0400 Original-Received: by localhost (Postfix, from userid 20848) id 26F198883; Mon, 31 Jul 2006 12:30:26 -0400 (EDT) Original-To: Kenichi Handa In-Reply-To: (Reiner Steib's message of "Mon, 31 Jul 2006 11:46:30 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57848 Archived-At: >>>>> "Reiner" == Reiner Steib writes: > On Mon, Jul 31 2006, Kenichi Handa wrote: >> I've got several complaints about the change I made a few >> months ago regarding the handling of the default eol-type. >> >> Previously, when a coding system without explicit eol-type >> (e.g. iso-latin-1) was specified for encoding, Unix-like >> eol-type is selected on any platform. >> >> The change I made was to use an eol-type set to >> system_eol_type (CRLF on Windows, LF otherwise) in such a >> case. To me, that change was just a bug fix. >> >> But, the bug-reports say that there are many codes that >> assumes the previous behaviour, and some of them now don't >> work well on Windows. I'd argue that those pieces of code had bugs: if your code depends on a Unix style EOL, it should say so explicitly. > FWIW, two examples in Gnus where that doubled newlines appeared in > mail messages and NOV (overview) files weren't read/written correctly > anymore, see this discussion on the Gnus list: > Is there any good reason why Gnus uses coding systems of the form `foo' rather than `foo-unix'? This said, there's clearly a problem of backward compatibility since the "buggy" code worked in Emacs-21. Stefan