tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.50); reset coding-system after save-buffer


From: Michael Albinus
Subject: Re: tramp (2.0.50); reset coding-system after save-buffer
Date: Sat, 03 Sep 2005 15:34:11 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

SUGITA Toshinori <address@hidden> 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?

> regards.

Best regards, Michael.

Attachment: diff
Description: Text Data


reply via email to

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