Toru TSUNEYOSHI <[email protected]> writes:

> Hello, Michael san.

Hi Toru san,

> In `tramp-handle-write-region',
> (file) size should be got by `file-attributes', not by `length'. Because
> `length' of multibyte string is not as same as (file) size.
> And `file-name-handler-alist' should be set to nil, when calling
> `write-region'
>
> So I fixed the above.
> Please check it.

Yes, both changes are good, thanks for fixing. I've committed the final
patch to both Tramp and Emacs repositories.

I have also applied a small change: tramp-inline-compress-start-size can
also be nil, which disables compression at all. This might be useful
when your local machine runs MS Windows, for example.

Thanks for your contribution, and best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to