emacs-devel
[Top][All Lists]
Advanced

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

Re: bug in copy-directory


From: Thierry Volpiatto
Subject: Re: bug in copy-directory
Date: Sun, 06 Feb 2011 18:22:37 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.93 (gnu/linux)

Michael Albinus <address@hidden> writes:

> Chong Yidong <address@hidden> writes:
>
>> Thierry Volpiatto <address@hidden> writes:
>>
>>> Ok thanks, i sent a patch to Chong.
>>
>> I've committed your patch, with a number of changes (e.g. renaming the
>> new argument to `copy-as-subdir').  Please test it and see if everything
>> behaves as you expect.  Thanks.
>
> Now it is even worse. Going to the initial test case:
>
> - Create directory /tmp/test
> - Create directory /tmp/test/test
> - Create file /tmp/test/a
> - Create file /tmp/test/test/b
> - Apply (copy-directory "/tmp/test" "~/")
>
> You get "~/a", "~/test" and "~/test/b".
Now you have to do:
(copy-directory "/tmp/test" "~/" nil nil t)

And if you do M-x copy-directory, all work fine because last arg is
always used in interactive calls.

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



reply via email to

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