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 23:19:44 -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 1154402402 16446 80.91.229.2 (1 Aug 2006 03:20:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 03:20:02 +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 Tue Aug 01 05:20:00 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 1G7knV-0007wj-VT for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 05:19:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7knV-00075F-0S for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 23:19:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7knK-00075A-8z for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:19:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7knH-00074y-Si for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:19:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7knH-00074v-NX for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:19:43 -0400 Original-Received: from [209.226.175.97] (helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7kq5-000133-A5 for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:22:37 -0400 Original-Received: from localhost ([70.55.146.253]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060801031942.XWMG24981.tomts40-srv.bellnexxia.net@localhost>; Mon, 31 Jul 2006 23:19:42 -0400 Original-Received: by localhost (Postfix, from userid 20848) id BC91E7ED3; Mon, 31 Jul 2006 23:19:44 -0400 (EDT) Original-To: Katsumi Yamaoka In-Reply-To: (Katsumi Yamaoka's message of "Tue, 01 Aug 2006 11:03:22 +0900") 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:57900 Archived-At: > By the way, why is not CR used in Mac when specifying the coding > system `foo', not `foo-eol'? Only Mac OS 9 used CR-eol. Mac OS X uses LF, like any other Unix variant. > Contrary to this argument concerning saving of files, I hope the > forms > (encode-coding-string "bar\n" 'foo) > and > (with-temp-buffer > (insert "bar\n") > (encode-coding-region (point-min) (point-max) 'foo) > (buffer-string)) > always return "bar\n" regardless of the system-type in the > future as well. Why this discrepancy? Stefan