From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: bug in copy-directory Date: Sun, 06 Feb 2011 08:33:33 -0500 Message-ID: <87tygh8ez6.fsf@stupidchicken.com> References: <87ipxaidea.fsf@gmail.com> <87k4hp96g0.fsf@stupidchicken.com> <878vy59ejz.fsf@stupidchicken.com> <87lj23ickn.fsf@stupidchicken.com> <87sjway8i3.fsf@gmx.de> <87wrll2ebe.fsf@stupidchicken.com> <87hbcot7gq.fsf@gmx.de> <87ei7qrdp0.fsf@gmail.com> <87ipx2dayh.fsf@gmx.de> <87y65yyxfu.fsf@gmail.com> <87d3n8xkeq.fsf@gmail.com> <878vxw6r4m.fsf@gmx.de> <87pqr790b0.fsf@gmail.com> <87oc6r7gjc.fsf@gmx.de> <87ipwz8t92.fsf@gmail.com> <878vxt69k7.fsf@stupidchicken.com> <874o8hbc9q.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297122512 27996 80.91.229.12 (7 Feb 2011 23:48:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2011 23:48:32 +0000 (UTC) Cc: emacs-devel@gnu.org, Thierry Volpiatto To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 08 00:48:28 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pmaok-0008Nt-Gn for ged-emacs-devel@m.gmane.org; Tue, 08 Feb 2011 00:48:26 +0100 Original-Received: from localhost ([127.0.0.1]:35451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmXt2-000846-LB for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2011 15:40:40 -0500 Original-Received: from [140.186.70.92] (port=47441 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmTHE-0001nM-JO for emacs-devel@gnu.org; Mon, 07 Feb 2011 10:45:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmTFm-0000bz-JD for emacs-devel@gnu.org; Mon, 07 Feb 2011 10:43:51 -0500 Original-Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]:52852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmTFm-0000ba-HK for emacs-devel@gnu.org; Mon, 07 Feb 2011 10:43:50 -0500 Original-Received: from furball (dhcp128036014010.central.yale.edu [128.36.14.10]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p17Fhk0Y013782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 7 Feb 2011 10:43:46 -0500 Original-Received: by furball (Postfix, from userid 1000) id 45E1916041F; Sun, 6 Feb 2011 08:33:33 -0500 (EST) In-Reply-To: <874o8hbc9q.fsf@gmx.de> (Michael Albinus's message of "Sun, 06 Feb 2011 13:03:45 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.147 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135704 Archived-At: Michael Albinus writes: > 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". I asumme that, by (copy-directory "/tmp/test" "~/"), you mean M-: (copy-directory "/tmp/test" "~/") RET. The behavior for that is the same as on 23.2. If you want to copy into a subdirectory in ~/, give it a non-nil copy-as-subdir arg.