From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: EOL conversion of files in .tar archives Date: Wed, 23 May 2007 22:31:12 +0300 Message-ID: References: <871wh8e4n3.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1179948689 17629 80.91.229.12 (23 May 2007 19:31:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 May 2007 19:31:29 +0000 (UTC) Cc: emacs-devel@gnu.org, handa@m17n.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 23 21:31:17 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HqwYG-0004ro-J5 for ged-emacs-devel@m.gmane.org; Wed, 23 May 2007 21:31:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqwYI-00039e-Hh for ged-emacs-devel@m.gmane.org; Wed, 23 May 2007 15:31:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HqwYE-000393-K8 for emacs-devel@gnu.org; Wed, 23 May 2007 15:31:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HqwYA-00038q-6O for emacs-devel@gnu.org; Wed, 23 May 2007 15:31:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqwYA-00038n-0s for emacs-devel@gnu.org; Wed, 23 May 2007 15:31:10 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HqwY9-0001Zc-KM for emacs-devel@gnu.org; Wed, 23 May 2007 15:31:09 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-31-106.inter.net.il [80.230.31.106]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id CQL96872 (AUTH halo1); Wed, 23 May 2007 22:31:06 +0300 (IDT) In-reply-to: <871wh8e4n3.fsf@stupidchicken.com> (message from Chong Yidong on Tue, 22 May 2007 20:59:44 -0400) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:71679 Archived-At: > Cc: Kenichi Handa , emacs-devel@gnu.org > From: Chong Yidong > Date: Tue, 22 May 2007 20:59:44 -0400 > > Eli Zaretskii writes: > > > This solves the problem with the EOL decoding, but reveals a very > > strange phenomenon: dos-w32.el and dos-w32.elc behave differently. > > The latter is preloaded into Emacs on Windows, and if I visit a file > > inside a tarball (after applying the patch below), plain text files > > with Unix EOLs get latin-1-unix buffer-file-coding-system, instead of > > the expected undecided-unix. But if I manually load dos-w32.el and > > visit the same file again, its buffer-file-coding-system is now > > undecided-unix, as expected! Is this some problem with the byte > > compiler? > > It is probably the result of using last-coding-system-used. No, it cannot be that: the version of tar-mode.el with which I saw this problem did not yet include the change which uses last-coding-system-used.