emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired mode recursive delete


From: Juri Linkov
Subject: Re: dired mode recursive delete
Date: Sun, 03 Jun 2007 21:43:57 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>> 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]