Subject: Re: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy

From: Thierry Volpiatto <[email-masked]>
Date: Fri, 24 Feb 2012 15:45:08 +0100

Michael Albinus <[email-masked]> writes:

>
> For both functions, please check for a file name handler, and call it if
> available. It doesn't matter that they are not implemented yet; there is
> the fallback to the native implementation in that case.

What about the check for file-remote-p in `file-subdir-of-p':

      (when (and (not (or (file-remote-p dir1)
                          (file-remote-p dir2)))

Is that ok for you?
Anyway you could always modify these functions for your need afterward.

> With this check, I could start to implement the file name handlers in
> Tramp's upstream repository.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997