From: yary <not.com@gmail.com>
To: "tramp-devel@gnu.org" <tramp-devel@gnu.org>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Tramp and recursive file operations
Date: Wed, 30 Sep 2009 08:52:43 -0700 [thread overview]
Message-ID: <75cbfa570909300852j3bcba55cw3ae4ac3922a1b0d3@mail.gmail.com> (raw)
In-Reply-To: <nqmy4cc0wh.fsf@alcatel-lucent.de>
On Wed, Sep 30, 2009 at 1:06 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
..
> OK. Looking outside dired, there is already delete-directory, good for
> empty directories. Maybe we add an optional parameter RECURSIVE?
>
> A copy-directory function does not exist. What about allowing the first
> parameter of copy-file to be a directory name? This would imply to copy
> recursively.
>
> Comments?
I like the idea of adding an optional parameter to delete-directory.
Is there any existing code that may be using the error-check in
copy-file to ensure that the first arg is not a directory? I like the
idea of making the existing copy-file smart enough to "do the right
thing" when the first argument is a dir, but it could need an optional
RECURSIVE parameter if and only if other callers rely on it rejecting
directories.
-y
next prev parent reply other threads:[~2009-09-30 15:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-29 14:39 Tramp and recursive file operations Michael Albinus
2009-09-29 17:49 ` joakim
2009-09-29 20:53 ` Stefan Monnier
2009-09-30 8:06 ` Michael Albinus
2009-09-30 13:45 ` Stefan Monnier
2009-09-30 14:07 ` Michael Albinus
2009-09-30 19:56 ` Stefan Monnier
2009-10-01 15:53 ` Michael Albinus
2009-09-30 15:52 ` yary [this message]
2009-10-02 5:10 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=75cbfa570909300852j3bcba55cw3ae4ac3922a1b0d3@mail.gmail.com \
--to=not.com@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=tramp-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.