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: Wed, 09 Feb 2011 18:37:22 +0100 Message-ID: <8762stgld9.fsf@gmail.com> References: <87ipxaidea.fsf@gmail.com> <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> <87tygh8ez6.fsf@stupidchicken.com> <87zkq7okvk.fsf@gmx.de> <87oc6myqzn.fsf@stupidchicken.com> <87sjvxznmt.fsf@gmail.com> <87aai58v63.fsf@gmx.de> <877hd99q32.fsf@stupidchicken.com> <87aai5gpd1.fsf@gmail.com> <87wrl9rw3a.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297273078 1115 80.91.229.12 (9 Feb 2011 17:37:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 17:37:58 +0000 (UTC) Cc: Michael Albinus , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 09 18:37:51 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 1PnDz7-0008Jf-Kw for ged-emacs-devel@m.gmane.org; Wed, 09 Feb 2011 18:37:45 +0100 Original-Received: from localhost ([127.0.0.1]:49512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnDz6-0006Oo-NJ for ged-emacs-devel@m.gmane.org; Wed, 09 Feb 2011 12:37:44 -0500 Original-Received: from [140.186.70.92] (port=46198 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnDyq-0006N4-39 for emacs-devel@gnu.org; Wed, 09 Feb 2011 12:37:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnDyo-0006yp-Au for emacs-devel@gnu.org; Wed, 09 Feb 2011 12:37:27 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:64168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnDyo-0006yT-12 for emacs-devel@gnu.org; Wed, 09 Feb 2011 12:37:26 -0500 Original-Received: by fxm12 with SMTP id 12so453613fxm.0 for ; Wed, 09 Feb 2011 09:37:25 -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=Bgg49WHD0OUDJbqRi5umWyBBa8g51fmhr0jZAqsWxe0=; b=AXpv4UQnrWeSCJePo3YZI35g7vXMWxwjGF1y5SFYF9ygmnPj74v9GtWr6P8DZtUMu/ 6KBGTlabVM/7HQmKQWQClTmbPEIv9zOpu40Sutr9mDRXgsOGkEPiuhwPvq5thLMGctHr QYmK/UaYfpklegr1X/pYZ3ZCdHAmanrRyNtUw= 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=Bsyk8qOSvfc6SXUGSt5lYDaZCY/W/6fY0ls3QuGfzrahQCJKCjfIvdnO1EMtVjoHDo rJatIG2v27Giz310azbmqHnGzcPFAD39++UBVSCet9njihLgoUfDKEnUaIn5TYx4k/vH c3DPo2EnYYnljwiMNcLRMRP9B00UDvqQ3Epek= Original-Received: by 10.223.72.10 with SMTP id k10mr4544949faj.31.1297273045183; Wed, 09 Feb 2011 09:37:25 -0800 (PST) Original-Received: from thierry-MM061 (131.78.88-79.rev.gaoland.net [79.88.78.131]) by mx.google.com with ESMTPS id 21sm279894fav.17.2011.02.09.09.37.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Feb 2011 09:37:24 -0800 (PST) In-Reply-To: <87wrl9rw3a.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 09 Feb 2011 11:50:17 -0500") 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: 209.85.161.41 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:135808 Archived-At: Chong Yidong writes: > Thierry Volpiatto writes: > >>> Adding a separate copy-directory-1 function does nothing different from >>> adding an optional argument to copy-directory that modifies its >>> behavior. Not much point. >> >> I am actually trying something different, i sent patch to Michael and >> Stephane. >> I restart from the Chong version without extra arg. >> This version works outside of dired interactvely and not. >> >> Then i modify a little dired-create-files. >> dired-copy-file-recursive have to call now copy-directory as >> copy-directory-1 doesn't exists anymore. >> >> It works here in dired, all scenarios of copy-directory and i tried with >> sudo method from dired and it works also. > > Such an invasive patch is not suitable for the emacs-23 branch. If we > do this, it should be for Emacs 24. What is invasive? It is no more than 2 lines in dired-create-files and your initial working version of copy-directory. -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997