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: Fri, 28 Jan 2011 10:02:44 -0500 Message-ID: References: <87ipxaidea.fsf@gmail.com> <87k4hp96g0.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296226977 22421 80.91.229.12 (28 Jan 2011 15:02:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Jan 2011 15:02:57 +0000 (UTC) Cc: emacs-devel@gnu.org, Michael Albinus , Thierry Volpiatto To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 28 16:02:52 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 1Pipqd-0005rx-H2 for ged-emacs-devel@m.gmane.org; Fri, 28 Jan 2011 16:02:51 +0100 Original-Received: from localhost ([127.0.0.1]:55592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pipqd-0008Em-0v for ged-emacs-devel@m.gmane.org; Fri, 28 Jan 2011 10:02:51 -0500 Original-Received: from [140.186.70.92] (port=47691 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PipqY-0008Ec-Er for emacs-devel@gnu.org; Fri, 28 Jan 2011 10:02:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PipqX-0006cl-DK for emacs-devel@gnu.org; Fri, 28 Jan 2011 10:02:46 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:14499 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PipqX-0006cd-Ax for emacs-devel@gnu.org; Fri, 28 Jan 2011 10:02:45 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEADdpQk1FpY7U/2dsb2JhbACkf3S7fIVPBIUYj2g X-IronPort-AV: E=Sophos;i="4.60,392,1291611600"; d="scan'208";a="89567574" Original-Received: from 69-165-142-212.dsl.teksavvy.com (HELO ceviche.home) ([69.165.142.212]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 28 Jan 2011 10:02:44 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5489D660DC; Fri, 28 Jan 2011 10:02:44 -0500 (EST) In-Reply-To: <87k4hp96g0.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 27 Jan 2011 20:13:03 -0500") 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:135150 Archived-At: >> Actually on 23.2.92.1, copy-directory, called interactively or not copy >> the files of directory A to existing directory B instead of copying >> directory A inside directory B.(as a subdirectory of B). > Hmm, this is a bit problematic. [...] > The trouble is that Lisp callers might depend on the old behavior. Couldn't/shouldn't we distinguish between interactive and non-interactive calls, then? I.e. have the interactive spec turn the B into (expand-file-name (file-name-nondirectory A)) when B is an existing directory. Stefan