From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bug in copy-directory Date: Mon, 07 Feb 2011 10:22:36 -0500 Message-ID: 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> <87y65txele.fsf@gmail.com> <87tyghxdgx.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297094926 31132 80.91.229.12 (7 Feb 2011 16:08:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2011 16:08:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 07 17:08:39 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 1PmTdn-0005le-EB for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2011 17:08:39 +0100 Original-Received: from localhost ([127.0.0.1]:42853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmTKe-00022f-Cw for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2011 10:48:52 -0500 Original-Received: from [140.186.70.92] (port=56343 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmSvH-0000Bt-2Z for emacs-devel@gnu.org; Mon, 07 Feb 2011 10:22:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmSvG-0004L8-3L for emacs-devel@gnu.org; Mon, 07 Feb 2011 10:22:38 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23242 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmSvG-0004Kq-0T for emacs-devel@gnu.org; Mon, 07 Feb 2011 10:22:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAF+dT03O+LKf/2dsb2JhbAClMXS6D4VaBIR6jx4 X-IronPort-AV: E=Sophos;i="4.60,438,1291611600"; d="scan'208";a="90801238" Original-Received: from 206-248-178-159.dsl.teksavvy.com (HELO pastel.home) ([206.248.178.159]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 07 Feb 2011 10:22:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id DC2E859098; Mon, 7 Feb 2011 10:22:36 -0500 (EST) In-Reply-To: <87tyghxdgx.fsf@gmail.com> (Thierry Volpiatto's message of "Sun, 06 Feb 2011 18:46:54 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:135679 Archived-At: > If you want to be able to do: > (copy-directory "/tmp/test" "~/") > We will have to fallback to a function copy-directory1 used by dired and > a copy-directory function/command that ALWAYS use last arg of > copy-directory1. That sounds to me like the right thing to do (copy-directory already has many arguments, and adding one which will (almost) always need to be passed doesn't sound too attractive). But you say it in a tone that seems to imply it's undesirable: could you explain why you think it's undesirable? Stefan