emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp, "[]" in file names, and file-expand-wildcards


From: Stefan Monnier
Subject: Re: Tramp, "[]" in file names, and file-expand-wildcards
Date: Tue, 09 Oct 2001 10:29:59 -0400

> The mechanism leads to problems with operations which take two
> filenames as arguments, because then a simple-minded strategy might
> not work, but these problems can be solved.  (Currently, copy-file and
> ange-ftp follow such a simple strategy: copy-file uses the first
> filename to decide on the handler to invoke, and ange-ftp uses a
> too-simple strategy to find the right handler for the second
> filename.)  --  There was a thread about this beginning of August.

I don't remember all the details of that thread, but thinking
about it afresh (also known as "in a blur" because I can't remember
the details of the problem), I think copy-file should dispatch
on the second file-name so that the handler can use `file-local-copy'
on the first argument, making it easy to "always work".

Hmmm.... what happens when we do (copy-file "foo" "foo.gz") ?
What about (copy-file "foo.gz" "foo") ?
What should happen ?

Hmmm....


        Stefan "unclear"




reply via email to

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