From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Why @#! is not Emacs using the Recycle bin on w32? Date: Fri, 29 Aug 2008 15:39:58 +0000 Message-ID: <20080829153958.GB1053@muc.de> References: <48B7288E.3040503@gmail.com> <48B7F905.7060605@gmail.com> <001301c909e8$d63092e0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220024238 30884 80.91.229.12 (29 Aug 2008 15:37:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 15:37:18 +0000 (UTC) Cc: 'David House' , 'Eli Zaretskii' , jasonr@gnu.org, "'Lennart Borgman \(gmail\)'" , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 17:38:11 2008 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 1KZ62r-00077b-9x for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 17:37:53 +0200 Original-Received: from localhost ([127.0.0.1]:41637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ61s-0007ZO-MM for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 11:36:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ61H-0007CP-R9 for emacs-devel@gnu.org; Fri, 29 Aug 2008 11:36:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ61G-0007B8-0S for emacs-devel@gnu.org; Fri, 29 Aug 2008 11:36:15 -0400 Original-Received: from [199.232.76.173] (port=58799 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ61F-0007Ax-An for emacs-devel@gnu.org; Fri, 29 Aug 2008 11:36:13 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:1455 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZ61F-0002ra-4P for emacs-devel@gnu.org; Fri, 29 Aug 2008 11:36:13 -0400 Original-Received: (qmail 96882 invoked by uid 3782); 29 Aug 2008 15:36:10 -0000 Original-Received: from acm.muc.de (pD9E51BB2.dip.t-dialin.net [217.229.27.178]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Fri, 29 Aug 2008 17:36:07 +0200 Original-Received: (qmail 9692 invoked by uid 1000); 29 Aug 2008 15:39:58 -0000 Content-Disposition: inline In-Reply-To: <001301c909e8$d63092e0$0200a8c0@us.oracle.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:103182 Archived-At: Hi, Drew and everybody else! On Fri, Aug 29, 2008 at 08:06:37AM -0700, Drew Adams wrote: > > > We are talking about Emacs here. Emacs behavior was always that it > > > deletes a file, not moves it somewhere. So any change in that > > > behavior _by_default_ will surprise Emacs users. > > Then maybe a compromize could be to tell it in a prominent way so that > > users have a good chance to notice it? > I agree that it should be mentioned prominently. > IIUC, `delete-by-moving-to-trash' works similarly on all platforms that > have some sort of trash can (recycle bin) - is that correct? It's > important that something like this be similar for all platforms. > My preference is that this not be turned on by default - that is, keep > the traditional Emacs behavior. But I recognize the counter arguments. > The traditional behavior here is better for overall Emacs use, IMO, but > I won't argue about it. I submit this is a non-problem, and the non-solution is this: The first time in an Emacs session somebody tries to delete a file, a request for confirmation something like this should appear: "You are about to delete one or more files permanently. You will not be warned again this session. Type 'y' to delete the file(s), '!' to delete the file(s) and suppress the warning for future sessions, or 'n' to abort the operation.". [ .... ] > [BTW - I am astounded that Lennart, who is no newbie, just discovered > the default behavior and doesn't use Dired much. I can't imagine using > Emacs without Dired. Perhaps it's related to using Viper?] Hah! I don't use dired at all (except by accident, when I curse for having to type C-x k to get rid of it). I do file manipulation in a bash session on a different virtual terminal. -- Alan Mackenzie (Nuremberg, Germany).