emacs-devel
[Top][All Lists]
Advanced

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

Re: bug in copy-directory


From: Michael Albinus
Subject: Re: bug in copy-directory
Date: Tue, 08 Feb 2011 10:18:40 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Michael, could you apply the patch i sent here to Stefan and do:
>
> M-: (copy-directory "/tmp/test" "~/") RET
>
> You will see it works fine.

Yes.

> M-x copy-directory works fine too
>
> and copying from dired works fine also.

Yes.

However, when copying in dired "/tmp/test" to "~/", the second attempt
results in a wrong directory structure.

For file name handlers your approach is a little bit, hmm, surprising.
You call the handler for `copy-directory' inside of `copy-directory1'.
This could work, or course, but it isn't a clean approach, and it will
add a maintenance burden when all of us have forgotten what we are doing
here.

At least *I* am pretty good in forgetting (my wife says :-)

Best regards, Michael.



reply via email to

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