emacs-devel
[Top][All Lists]
Advanced

[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: Kenichi Handa
Subject: Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?]
Date: Mon, 25 Feb 2002 16:01:35 +0900 (JST)

Richard Stallman <address@hidden> writes:
> I tend to think he is right.  What do you think?
[...]
> From: "Marshall, Simon" <address@hidden>
> To: "'Emacs Pretest Bug'" <address@hidden>
> Subject: FW: [21.1.90]: should coding be recalculated on revert-buffer?
> Date: Fri, 22 Feb 2002 15:09:45 -0000
[...]
> If I visit a DOS-format file in Emacs on a Unix box, Emacs helpfully
> tells me the coding system is DOS in the modeline.  If I use dos2unix
> in a shell to convert it and M-x revert-buffer in Emacs, Emacs still
> tells me the coding system is DOS.

> Shouldn't it revert the coding system as appropriate too?

In the above specific case, I agree he is right.

But, if one visited a file with C-x RET c CODING RET C-x C-f
FILENAME RET, it usually means that the file encoding is
different from what Emacs automatically detects.  Thus, in
such a case, we had better read the file with the same
coding system (i.e. CODING).

And, it's difficult to distinguish the above two cases.

---
Ken'ichi HANDA
address@hidden



reply via email to

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