3 Sep 2005 15:34
Re: tramp (2.0.50); reset coding-system after save-buffer
Michael Albinus <michael.albinus <at> gmx.de>
2005-09-03 13:34:11 GMT
2005-09-03 13:34:11 GMT
SUGITA Toshinori <sugita <at> d-pad.co.jp> writes: > My Emacs got strange action. > > 1. set ssh's process-coding-system set to 'undecided'. > (modify-coding-system-alist 'process "ssh" '(undecided . unix)) > > 2. open a new file /scp:some-server:/some-where/new-file > -> '-' coding system sign is indicated in mode line. > and write Japanese charactors into buffer. > or a existing file included japanese charactors. > > 3. M-x set-buffer-file-coding-system -> euc-jp > -> 'E' coding system sign is indicated in mode line. > > 4. M-x save-buffer > -> '-' coding system sign is indicated again! > file saved in EUC-JP encoding. > > 5. M-x save-buffer again. > file saved in utf-8 encoding by automatic deciding coding-system Could you, please, apply the appended patch? It should solve the problem. Please note that this is a diff of all changes in tramp.el since the release of 2.0.50, so don't worry. David, the last change in coding system I've done for a problem reported by you. Could you, please, check that this patch doesn't mangle your settings?(Continue reading)
////////////////////////////////////////////////////
/// Toshinori Sugita --- Digital Pad Inc.
/// MailTo: sugita <at> d-pad.co.jp
///
RSS Feed