[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TRAMP copies binary files incorrectly
From: |
Stefan Monnier |
Subject: |
Re: TRAMP copies binary files incorrectly |
Date: |
Thu, 11 Jan 2007 00:21:51 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
> But, as Stefan wrote, it is better to call
> (set-buffer-multibyte nil) much earlier.
> Anyway, it is better to fix the function bound to loc-dec to
> work in a multibyte buffer too. Which function is it?
I believe the function "at fault" is uudecode-decode-region, although
personally I think the problem is much deeper, in the implicit use of
unibyte-char-to-multibyte in `insert'.
But independently from whether we fix it or not, I believe that making the
buffer unibyte is the right thing to do since it will only ever contain
bytes, and never chars: using a multibyte buffer here is inefficient and is
asking for trouble.
Stefan
- TRAMP copies binary files incorrectly, Chris, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Eli Zaretskii, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Stefan Monnier, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/10
- Re: TRAMP copies binary files incorrectly,
Stefan Monnier <=
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Stefan Monnier, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Katsumi Yamaoka, 2007/01/24
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/24
- Re: TRAMP copies binary files incorrectly, Katsumi Yamaoka, 2007/01/24
- Re: TRAMP copies binary files incorrectly, Michael Albinus, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/11