[Top][All Lists]
[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"
- Re: Tramp, "[]" in file names, and file-expand-wildcards, (continued)
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Eli Zaretskii, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Stefan Monnier, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Eli Zaretskii, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Stefan Monnier, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Eli Zaretskii, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Stefan Monnier, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Eli Zaretskii, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Stefan Monnier, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Eli Zaretskii, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Stefan Monnier, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards,
Stefan Monnier <=
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Eli Zaretskii, 2001/10/09
- Re: Tramp, "[]" in file names, and file-expand-wildcards, Andrew Innes, 2001/10/09
Re: Tramp, "[]" in file names, and file-expand-wildcards, Kai Großjohann, 2001/10/09
Re: Tramp, "[]" in file names, and file-expand-wildcards, Kai Großjohann, 2001/10/09
URL syntax (was: Re: Tramp, "[]" in file names, and file-expand-wildcards), Per Abrahamsen, 2001/10/09