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: Sun, 03 Jun 2007 21:43:57 +0300 Organization: JURTA Message-ID: <87myzg28ph.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180896459 23606 80.91.229.12 (3 Jun 2007 18:47:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 18:47:39 +0000 (UTC) Cc: dieter@duenenhof-wilhelm.de, Stephen.Berman@gmx.net, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 20:47:36 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 1Huv71-0005mF-DM for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 20:47:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huv70-0007MI-M0 for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 14:47:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Huv6x-0007Lp-8Z for emacs-devel@gnu.org; Sun, 03 Jun 2007 14:47:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Huv6v-0007LV-Sv for emacs-devel@gnu.org; Sun, 03 Jun 2007 14:47:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huv6v-0007LS-Mf for emacs-devel@gnu.org; Sun, 03 Jun 2007 14:47:29 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Huv6v-00085P-B0 for emacs-devel@gnu.org; Sun, 03 Jun 2007 14:47:29 -0400 Original-Received: from schnapps.dreamhost.com (apache2-noxim.schnapps.dreamhost.com [208.113.175.112]) by smarty.dreamhost.com (Postfix) with ESMTP id B0085EE259; Sun, 3 Jun 2007 11:47:27 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by schnapps.dreamhost.com (Postfix) with ESMTP id 49633A86F8; Sun, 3 Jun 2007 11:47:26 -0700 (PDT) In-Reply-To: <4662BD9F.3030503@gmx.at> (martin rudalics's message of "Sun\, 03 Jun 2007 15\:09\:51 +0200") 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:72128 Archived-At: >> I wonder what would be the best way to implement this in dired: get code >>>from coreutils (that updates directories like `cp -u', moves directories >> between partitions etc.), or make dired commands to run coreutils commands >> like `cp' and `mv' directly with appropriate switches. It seems strange >> that dired uses external commands like `ls', and doesn't use `cp' and `mv'. > > Because no one wrote the emulators cp-lisp.el and mv-lisp.el yet? Like that, yes, but the other way around :) >>From the beginning Emacs uses external commands, and later ls-lisp.el and find-lisp.el were added for the systems without necessary external commands. In case of cp and mv, currently Emacs uses their "emulations", but it would be good to use external commands directly. -- Juri Linkov http://www.jurta.org/emacs/