unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Leo <sdl.web@gmail.com>
Cc: John Wiegley <johnw@newartisans.com>, 7011@debbugs.gnu.org
Subject: bug#7011: 24.1; [PATCH] improve eshell-remove-entries
Date: Sun, 24 Oct 2010 13:25:00 -0400	[thread overview]
Message-ID: <87aam3fqqb.fsf@stupidchicken.com> (raw)
In-Reply-To: <m1tylxdmfz.fsf@cam.ac.uk> (Leo's message of "Sat, 11 Sep 2010 03:49:04 +0100")

Leo <sdl.web@gmail.com> writes:

> eshell-remove-entries implements its own recursive delete of files in a
> directory and this does not play well with the move-to-trash feature.
> For example, if you use 'rm -rf' in eshell to delete a dir with hundreds
> of files in it (eg .git), you will get hundreds of files at the top
> level of the Trash bin.
>
> The following patch enables eshell-remove-entries to support
> move-to-trash feature and use delete-directory's RECURSIVE arg instead.

Thanks.  I've committed this patch, and your followup patch.





      parent reply	other threads:[~2010-10-24 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11  2:49 bug#7011: 24.1; [PATCH] improve eshell-remove-entries Leo
2010-09-11  2:51 ` John Wiegley
2010-09-11 12:09 ` Leo
2010-10-24 17:25 ` Chong Yidong [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aam3fqqb.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=7011@debbugs.gnu.org \
    --cc=johnw@newartisans.com \
    --cc=sdl.web@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).