From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: bug in copy-directory Date: Sun, 06 Feb 2011 18:22:37 +0100 Message-ID: <87y65txele.fsf@gmail.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 1297012984 18022 80.91.229.12 (6 Feb 2011 17:23:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2011 17:23:04 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 06 18:22:58 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 1Pm8K3-0006ze-HR for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2011 18:22:51 +0100 Original-Received: from localhost ([127.0.0.1]:58752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pm8K3-0002lP-21 for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2011 12:22:51 -0500 Original-Received: from [140.186.70.92] (port=48484 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pm8Jv-0002kT-8l for emacs-devel@gnu.org; Sun, 06 Feb 2011 12:22:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pm8Jt-0002KN-M2 for emacs-devel@gnu.org; Sun, 06 Feb 2011 12:22:42 -0500 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:50161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pm8Jt-0002JM-Cs for emacs-devel@gnu.org; Sun, 06 Feb 2011 12:22:41 -0500 Original-Received: by wyj26 with SMTP id 26so4118400wyj.0 for ; Sun, 06 Feb 2011 09:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=J6Xsk2fwYi4a8aLzUhBK+Ir2n3OAJbeVXF+q3IAcpeo=; b=wmDYNHnnDxi3bVowrM6xAmQlbgd477nhyG4gmVxvgXeBKwxTv0WMoB9tAkrESIvt76 1QwrQRZY9hHSKfS6VpkCEhm0RIfBMxC8OfGLVtYBKSUz0Y7Wz8jsFWXVwpE/lYyyXwET hCNYre5As6h63J2Gm6BFfETepBAHvxoIvMoYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=cu23BlGljxlvReCsyJhx6YEheacHvWiu9+GHmvalKm73+F7JNRuDxTt2qx9tKDL0WO QCEsJ12QeCIwF8A475W1wSwt8reqW5Hf8TYK5KF5TDUeIKuMCUYijoPtENxnfS77PtX9 jxhAAZfsBtOYMM5QizeuM94xigW8y2cRMn4Zw= Original-Received: by 10.227.166.194 with SMTP id n2mr108887wby.172.1297012960045; Sun, 06 Feb 2011 09:22:40 -0800 (PST) Original-Received: from thierry-MM061 (98.78.88-79.rev.gaoland.net [79.88.78.98]) by mx.google.com with ESMTPS id m50sm1669345wek.32.2011.02.06.09.22.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 09:22:39 -0800 (PST) In-Reply-To: <874o8hbc9q.fsf@gmx.de> (Michael Albinus's message of "Sun, 06 Feb 2011 13:03:45 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 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:135648 Archived-At: Michael Albinus writes: > Chong Yidong writes: > >> Thierry Volpiatto 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