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: Wed, 02 Feb 2011 10:47:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> What we could do also is create a function copy-directory-contents, that
> reuse the code of precedent version of copy-directory (but not
> interactive this time) and call this function in
> dired-copy-file-recursive instead of copy-directory.
>
> In this case we could rewrite copy-directory to avoid duplicate code,
> possibly: (no urge in this case as actual copy-directory works fine) 
>
> 1) Writing copy-directory-contents (or whatever name) to allow
> creating the structure like actual copy-directory, or not like ancient
> version leaving this job to dired-create-files.
>
> 2) Writing a copy-directory that reuse dired code (i.e dired-create-files).
> In this case it would have all interactive messages, ask etc..
>
> WDYT?

I would prefer option 2). There is no need to have an extra dired
implementation, now we have copy-directory.

Best regards, Michael.



reply via email to

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