[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: |
Andreas Schwab |
Subject: |
Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?] |
Date: |
Wed, 27 Feb 2002 16:08:05 +0100 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) |
Richard Stallman <address@hidden> writes:
|> How about just setting buffer-file-coding-system to
|> last-coding-system-used in revert-buffer if coding-system-for-read is
|> non-nil? This way you can use `C-x RET c undecided' to force
|> re-detection.
|>
|> I think your change should be made, but revert-file should autodetect
|> when you do not specify a coding system in this way.
In replace mode insert-file-contents uses buffer-file-coding-system when
coding-system-for-read is nil, so no autodection is done.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], (continued)
Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Miles Bader, 2002/02/25
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Eli Zaretskii, 2002/02/25
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Richard Stallman, 2002/02/26
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Eli Zaretskii, 2002/02/26
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Andreas Schwab, 2002/02/26
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Richard Stallman, 2002/02/27
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?],
Andreas Schwab <=
- Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Richard Stallman, 2002/02/27
Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Eli Zaretskii, 2002/02/27
Re: address@hidden: FW: [21.1.90]: should coding be recalculated on revert-buffer?], Kenichi Handa, 2002/02/25