>>>>> In <[EMAIL PROTECTED]> >>>>> Michael Albinus <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> >> >> * 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 <[EMAIL PROTECTED]> _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.nongnu.org/mailman/listinfo/tramp-devel