[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOL conversion of files in .tar archives

From: Chong Yidong
Subject: Re: EOL conversion of files in .tar archives
Date: Tue, 22 May 2007 20:59:44 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

Eli Zaretskii <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]