From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Why @#! is not Emacs using the Recycle bin on w32? Date: Fri, 29 Aug 2008 02:06:39 +0200 Message-ID: <48B73D8F.90501@gmail.com> References: <48B7288E.3040503@gmail.com> <48B73AA9.5090900@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219968442 1695 80.91.229.12 (29 Aug 2008 00:07:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 00:07:22 +0000 (UTC) Cc: Emacs Devel To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 02:08:16 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 1KYrX6-0004il-Qg for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 02:08:09 +0200 Original-Received: from localhost ([127.0.0.1]:47920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYrW4-0006rd-Ic for ged-emacs-devel@m.gmane.org; Thu, 28 Aug 2008 20:07:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYrVz-0006nS-W1 for emacs-devel@gnu.org; Thu, 28 Aug 2008 20:07:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYrVy-0006j8-2J for emacs-devel@gnu.org; Thu, 28 Aug 2008 20:06:59 -0400 Original-Received: from [199.232.76.173] (port=48070 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYrVx-0006iq-W4 for emacs-devel@gnu.org; Thu, 28 Aug 2008 20:06:58 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:35869) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYrVq-000817-CC; Thu, 28 Aug 2008 20:06:51 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64909 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KYrVm-0008Ku-4b; Fri, 29 Aug 2008 02:06:46 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <48B73AA9.5090900@gnu.org> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080828-0, 2008-08-28), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KYrVm-0008Ku-4b. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KYrVm-0008Ku-4b 6a778ace4a99f349ed58e510395a404f X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:103119 Archived-At: Jason Rumney wrote: > Lennart Borgman (gmail) wrote: >> I just deleted a file because I misunderstood dired. I needed that file >> (of course). >> >> And then I found that dired did not make any backup and did not use >> windows Recycle bin. >> > > Of course not. The Recycle Bin is part of the Explorer shell, not a > fundamental part of deleting files on the OS. If you go to a command > prompt and type "del filename.txt" it will not use the Recycle Bin > either, and nor will most other programs that delete files from outside > of the Explorer shell. I am not sure but I would expect most programs to use the Recycle Bin. > However, someone submitted a patch some time ago to move files to the > desktop's trash which works on Windows and with the common convention > used by Gnome, KDE and Mac OSX. To use it you need to set > `delete-by-moving-to-trash'. Thanks. Wouldn't it be good to have this as a default. >> This behaviour does not make me trust for example GNU/Linux. > > That is a strange statement, since you are not even using GNU/Linux. Not so very strange. I just reflect that I get upset by this ;-) Also from the point of view that we have had quite a few discussions about the usefulness of having a program behave as a user expects on that OS. As an example let me tell me what happened. I am rather unused to dired though I use it sometimes. However now I was a bit stressed and in that situation I fallback to expect the behaviour I am used too. That is what you psychologically do in those situations, there is nothing strange with that, but it is easy to overlook the importance of it. So I expected - The Recycle Bin to be used. - When I marked some files in dired I expected those files to be deleted by D, not the file I happened to be positioned on. That is what selection normally mean. None of these expectation where of course true. I am quite sure I am not the only user that has fallen into traps like these in stressed situations. So I would say: Do what you user expect in the used environment. This is more important the more experienced the user is because of the habits that you actually use without thinking in stressed situations.