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: Miles Bader
Subject: Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?]
Date: 25 Feb 2002 16:25:22 +0900

Kenichi Handa <address@hidden> writes:
> 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.

Couldn't you set a buffer-local flag to true if the coding is
auto-detected (which `C-x C-m c' & friends would then set to false),
and then only re-detect the coding system upon rever if the flag was true?

-Miles
-- 
Run away!  Run away!



reply via email to

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