From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David House" Newsgroups: gmane.emacs.devel Subject: Re: Why @#! is not Emacs using the Recycle bin on w32? Date: Fri, 29 Aug 2008 13:16:29 +0100 Message-ID: References: <48B7288E.3040503@gmail.com> <48B73AA9.5090900@gnu.org> <48B73D8F.90501@gmail.com> <48B7AC10.6090800@gmail.com> <48B7B08B.6050103@gmail.com> <48B7D251.9080003@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 1220012215 7731 80.91.229.12 (29 Aug 2008 12:16:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 12:16:55 +0000 (UTC) Cc: Eli Zaretskii , "Lennart Borgman \(gmail\)" , emacs-devel@gnu.org To: "Jason Rumney" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 14:17:48 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 1KZ2v9-0004uJ-6o for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 14:17:43 +0200 Original-Received: from localhost ([127.0.0.1]:56745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ2uA-0003Yz-1g for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 08:16:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ2u0-0003QT-6S for emacs-devel@gnu.org; Fri, 29 Aug 2008 08:16:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ2tz-0003Ot-AJ for emacs-devel@gnu.org; Fri, 29 Aug 2008 08:16:31 -0400 Original-Received: from [199.232.76.173] (port=49814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ2tz-0003OQ-6f for emacs-devel@gnu.org; Fri, 29 Aug 2008 08:16:31 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.154]:40328) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZ2ty-0001W2-I1 for emacs-devel@gnu.org; Fri, 29 Aug 2008 08:16:30 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so443028yxf.66 for ; Fri, 29 Aug 2008 05:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/ZVXqKq5prXlWDnY9YXLINat8PZlsrYTcweRl7pIu00=; b=Qf9Wc8sd3cYncM5hukpnr7ATH1SH9QGVmG4oMpGIqoAyKgZZqDHnK/jzEHUfe7VQqd 2Gdqvl7vVghQOjmOJbsTGLwfiyXTDIDIWY48A3solJM33rgs+X7AWhaJ8JKWZRNlGLZv ueT0bwJ+F+z2Wb3atc/mJgSc3GOMkkDY82I44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=makfxv30iYG7SeO0BjBj44FX5fZ5rU5AO4PpiBI0N/d0+sF+VZcut686jxosvwxA7b 35B9hIuj751FD8wfk6+FjfdJFVa1/ne66s9BtZxthWGpd+2/4KzXrLsBqb9oo0Nw6BJU Vj7866WTUt0/A1KqlWKVaD8+FxL9dUHzyO1gw= Original-Received: by 10.150.11.6 with SMTP id 6mr4125895ybk.9.1220012189206; Fri, 29 Aug 2008 05:16:29 -0700 (PDT) Original-Received: by 10.150.192.3 with HTTP; Fri, 29 Aug 2008 05:16:29 -0700 (PDT) In-Reply-To: <48B7D251.9080003@gnu.org> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:103170 2008/8/29 Jason Rumney : > Read my earlier mail on the subject. The Recycle Bin can be a security hole > when users expect files to be deleted immediately, and when not using the > Explorer (or standard File Dialog which is based on, and looks like > Explorer) it is quite reasonable to expect Explorer's recycle bin to not be > involved. That is not a security hole. If you delete a file using Emacs' current deletion mechanism, the file is still recoverable. If you truly want sensitive data gone, you need to use a different application anyway. > Talking of "bypassing the Recycle Bin" makes it sound like we have to do > extra work to do not use the recycle bin. I did not intend that, sorry. > In fact the opposite is true, and > I'm not aware of ANY non-system program other than Emacs that takes the > trouble to use the Recycle Bin on Windows. This is only true of non-GUI applications, of course: most GUI programs will use a standard Explorer shell for opening/exploring files, and thus deleting files in them will use the Recycle Bin. Whether dired is more of a GUI application or a command-line application is obviously the source of confusion: Lennart expected it to act like a GUI, whereas yourself and Eli expected it to act like a command-line. Choosing which system is preferable is tricky, but I'd say defaulting to one that does the least harm is probably a safe bet. -- -David