[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TRAMP copies binary files incorrectly
From: |
Kenichi Handa |
Subject: |
Re: TRAMP copies binary files incorrectly |
Date: |
Thu, 11 Jan 2007 14:32:41 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.92 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Stefan Monnier <address@hidden> writes:
> > 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'.
Right.
> 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.
I agree.
---
Kenichi Handa
address@hidden
- 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, 2007/01/11
- Re: TRAMP copies binary files incorrectly,
Kenichi Handa <=
- 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
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/11