tramp-devel
[Top][All Lists]
Advanced

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

Re: copy-file-doesn't work


From: Katsumi Yamaoka
Subject: Re: copy-file-doesn't work
Date: Tue, 03 Feb 2004 08:18:56 +0900
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

>>>>> In <address@hidden>
>>>>>   Michael Albinus <address@hidden> wrote:

> Hmm. Interesting enough, it doesn't seem to be related to Tramp or
> ange-ftp. There's even the same problem copying the file locally:

> (copy-file "~/.emacs" "/tmp/")

> Debugger entered--Lisp error: (file-already-exists "File already exists" 
> "/home/albinus/.emacs")

Oops.  Sorry.  I was biased against Tramp and ange-ftp.

[...]

>> Please try the patch below.
>>
>> 2004-02-02  Eli Zaretskii  <address@hidden>
>>
>>      * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the
>>      basename of FILE relative to it, not FILE itself.

> OK, that's it. And it even works with Tramp and ange-ftp :-)

Thanks a lot!  It works for me too.
-- 
Katsumi Yamaoka <address@hidden>




reply via email to

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