From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Why @#! is not Emacs using the Recycle bin on w32? Date: Fri, 29 Aug 2008 07:54:17 +0800 Message-ID: <48B73AA9.5090900@gnu.org> References: <48B7288E.3040503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219967745 32294 80.91.229.12 (28 Aug 2008 23:55:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2008 23:55:45 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 01:56:38 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 1KYrLu-0001id-Ot for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 01:56:35 +0200 Original-Received: from localhost ([127.0.0.1]:55048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYrKv-0007Ha-Iw for ged-emacs-devel@m.gmane.org; Thu, 28 Aug 2008 19:55:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYrKq-0007Fn-RB for emacs-devel@gnu.org; Thu, 28 Aug 2008 19:55:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYrKp-0007EB-G9 for emacs-devel@gnu.org; Thu, 28 Aug 2008 19:55:28 -0400 Original-Received: from [199.232.76.173] (port=56076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYrKp-0007Dz-8j for emacs-devel@gnu.org; Thu, 28 Aug 2008 19:55:27 -0400 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]:2040) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYrKo-0004wH-SP for emacs-devel@gnu.org; Thu, 28 Aug 2008 19:55:27 -0400 Original-X-Trace: 163181363/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$F2S-INTERNET-ACCEPTED/None/124.82.236.150 X-SBRS: None X-RemoteIP: 124.82.236.150 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AukAAHjXtkh8UuyW/2dsb2JhbAAIum+Bag X-IronPort-AV: E=Sophos;i="4.32,289,1217804400"; d="scan'208";a="163181363" X-IP-Direction: OUT Original-Received: from unknown (HELO [172.16.0.12]) ([124.82.236.150]) by smtp.f2s.tiscali.co.uk with ESMTP; 29 Aug 2008 00:55:23 +0100 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <48B7288E.3040503@gmail.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:103117 Archived-At: 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. 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'. > This behaviour does not make me trust for example GNU/Linux. That is a strange statement, since you are not even using GNU/Linux.