[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: FW: [21.1.90]: should coding be recalculated on reve
From: |
Eli Zaretskii |
Subject: |
Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?] |
Date: |
Mon, 25 Feb 2002 12:03:28 +0200 (IST) |
On Mon, 25 Feb 2002, Stefan Monnier wrote:
> Looks like we should remember whether the current coding-system was
> automatically inferred or whether it was explicitly specified.
I'm not sure it's enough. Imagine the following sequence of commands:
C-x RET c latin-2 RET C-x C-f some-file RET
M-! cat some-file | recode latin-2..utf-8 > some-file RET
M-x revert-buffer RET
Here the user visited the file with Latin-2, then changed the file's
encoding on disk into UTF-8, then reverted the buffer. Should Emacs
autodetect in this case or not?
Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Miles Bader, 2002/02/25