Kai Gro�johann <[EMAIL PROTECTED]> writes:

> Yes, it calls unhandled-file-name-directory which isn't handled by
> rcp.el.  Hm.  What should it return?  I'll do a dummy version which
> uses "~/".

When I do this in ange-ftp, I get the put into the /tmp directory.
Interestingly enough, (via this mechanism?) ediff works with ange-ftp.
That is, if I give ediff "[EMAIL PROTECTED]:filename", I am
prompted for the password and the file is diffed against any other
name I give it.

If I try this with rcp.el, I get:

    Not an rcp file name: [EMAIL PROTECTED]:filename

Here is the relevent code from ange-ftp:

    (put 'unhandled-file-name-directory 'ange-ftp
         'ange-ftp-unhandled-file-name-directory)

    (defun ange-ftp-unhandled-file-name-directory (filename)
      (file-name-directory ange-ftp-tmp-name-template))

    (defcustom ange-ftp-tmp-name-template 
      (expand-file-name "ange-ftp" temporary-file-directory)
      "*Template used to create temporary files."
      :group 'ange-ftp
      :type 'directory)



-- 
This Unix stuff make DOS look like a three-piece tinkertoy set.
        -- K Kenneth Clark

Reply via email to