emacs-pretest-bug
[Top][All Lists]
Advanced

[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




reply via email to

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