From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: EOL conversion of files in .tar archives Date: Wed, 23 May 2007 14:45:30 -0400 Message-ID: <87odkbpeet.fsf@stupidchicken.com> References: <871wh8e4n3.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179945947 4545 80.91.229.12 (23 May 2007 18:45:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 May 2007 18:45:47 +0000 (UTC) Cc: Kenichi Handa , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 23 20:45:39 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 1Hqvq5-0001YX-Di for ged-emacs-devel@m.gmane.org; Wed, 23 May 2007 20:45:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hqvq7-0002Qt-Cp for ged-emacs-devel@m.gmane.org; Wed, 23 May 2007 14:45:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hqvq3-0002Qe-Ul for emacs-devel@gnu.org; Wed, 23 May 2007 14:45:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hqvq1-0002QJ-GC for emacs-devel@gnu.org; Wed, 23 May 2007 14:45:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hqvq1-0002QC-9B for emacs-devel@gnu.org; Wed, 23 May 2007 14:45:33 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hqvpz-00056T-Vx; Wed, 23 May 2007 14:45:32 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id D2AB84EBCA; Wed, 23 May 2007 14:45:30 -0400 (EDT) In-Reply-To: <871wh8e4n3.fsf@stupidchicken.com> (Chong Yidong's message of "Tue\, 22 May 2007 20\:59\:44 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:71670 Archived-At: Chong Yidong writes: > 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. ISTR that > in a similar situation, the coding system used during byte-compilation > replaced last-coding-system-used to cause a similar problem. Please ignore this; this was an old message that my mailer screwed up. Sorry for the noise.