From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: dired mode recursive delete Date: Mon, 04 Jun 2007 00:28:55 +0300 Organization: JURTA Message-ID: <87tztolnl4.fsf@jurta.org> References: <87d50i42h3.fsf@escher.local.home> <85veea18r6.fsf@lola.goethe.zz> <853b1cz2pm.fsf@lola.goethe.zz> <87abvkqlwq.fsf@elegiac.orebokech.com> <876468qlsl.fsf@elegiac.orebokech.com> <87ps4endh3.fsf@jurta.org> <86myzh636m.fsf@lola.quinscape.zz> <87ira5s8a5.fsf@jurta.org> <87d50dpbql.fsf@debby.local.net> <878xb1jl1d.fsf@jurta.org> <4662BD9F.3030503@gmx.at> <87myzg28ph.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180907427 23702 80.91.229.12 (3 Jun 2007 21:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 21:50:27 +0000 (UTC) Cc: dieter@duenenhof-wilhelm.de, rudalics@gmx.at, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 23:50:25 2007 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.50) id 1Huxxv-0002aJ-Na for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 23:50:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huxxv-0007LG-33 for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 17:50:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Huxxo-0007KU-4b for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:50:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Huxxm-0007KI-HB for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:50:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huxxm-0007KF-91 for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:50:14 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Huxxl-00031o-8M; Sun, 03 Jun 2007 17:50:13 -0400 Original-Received: from schnapps.dreamhost.com (apache2-noxim.schnapps.dreamhost.com [208.113.175.112]) by smarty.dreamhost.com (Postfix) with ESMTP id 14412EE2D4; Sun, 3 Jun 2007 14:50:11 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by schnapps.dreamhost.com (Postfix) with ESMTP id BFF0EA86F8; Sun, 3 Jun 2007 14:50:07 -0700 (PDT) In-Reply-To: (Eli Zaretskii's message of "Sun\, 03 Jun 2007 23\:57\:20 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:72156 Archived-At: >> In case of cp and mv, currently Emacs uses their "emulations", >> but it would be good to use external commands directly. > > Why would it be good? It will certainly be slower. Not necessarily slower: coreutils has fast implementation (maybe, even faster that Emacs' own), and calling external process causes no big overhead. But advantages of using external commands are numerous: they are rich of features whose reimplementation in Emacs doesn't sound reasonable. Please note that I don't propose replacing existing Emacs implementation of basic copy and move operations by external commands. I propose using external commands only for functionality not available in Emacs, like cross-partition move or `cp -u'. -- Juri Linkov http://www.jurta.org/emacs/