From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Why @#! is not Emacs using the Recycle bin on w32? Date: Fri, 29 Aug 2008 15:20:31 -0700 Message-ID: <001001c90a25$73112160$0200a8c0@us.oracle.com> References: <48B7288E.3040503@gmail.com> <87y72f603p.fsf@comm.utoronto.ca> <001201c90a19$aaf5b7a0$0200a8c0@us.oracle.com> <48B86486.4090605@gmail.com> <001e01c90a1b$c4b4ae60$0200a8c0@us.oracle.com> <48B86667.7060907@gmail.com> <002001c90a1d$02556510$0200a8c0@us.oracle.com> <48B8701E.2040103@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220048454 14561 80.91.229.12 (29 Aug 2008 22:20:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 22:20:54 +0000 (UTC) Cc: emacs-devel@gnu.org, 'Gilaras Drakeson' To: "'Lennart Borgman \(gmail\)'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 30 00:21: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 1KZCLk-000899-5p for ged-emacs-devel@m.gmane.org; Sat, 30 Aug 2008 00:21:48 +0200 Original-Received: from localhost ([127.0.0.1]:51820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCKl-0004iW-K4 for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 18:20:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZCKf-0004hV-PY for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:20:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZCKe-0004gc-0E for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:20:41 -0400 Original-Received: from [199.232.76.173] (port=58886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCKd-0004gX-SY for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:20:39 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:14517) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZCKd-0005Ht-He for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:20:39 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m7TMKaHU003931; Fri, 29 Aug 2008 16:20:36 -0600 Original-Received: from acsmt707.oracle.com (acsmt707.oracle.com [141.146.40.85]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7TMKV30026514; Fri, 29 Aug 2008 16:20:34 -0600 Original-Received: from dradamslap1 (/69.181.100.12) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 29 Aug 2008 15:20:31 -0700 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <48B8701E.2040103@gmail.com> Thread-Index: AckKIeKtBTUPbZ8mRrqHW8oXz7If7AAAWaOw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:103223 Archived-At: > I meant the confirmation prompt. I think it could be something like > > Delete this file permanently? (yes or no) > Move this file to system trash can? (yes or not) Please be clear in what context such confirmation is requested. I really don't know what you're referring to. Without your help (;-)), I cannot imagine a context in which such a complex dialog should ensue. If `delete-by-moving-to-trash' is non-nil, then no confirmation should be needed when you, say, hit `x' in Dired - the marked files should just be moved to the Recycle Bin. If `delete-by-moving-to-trash' is nil, then Emacs should ask for the same confirmation that it asks for now - do you really want to delete the marked files? Likewise for hitting the `delete' key in contexts where that affects a file: If `delete-by-moving-to-trash' is non-nil, then there should be no request for confirmation - the file should silently be move to the bin. If it is nil, then you should be asked if you really want to delete the file. And `S-delete' (if that were implemented) would do whatever `delete' does, but for the opposite value of `delete-by-moving-to-trash'. Thus, if `delete-by-moving-to-trash' were non-nil, then `S-delete' would delete the file after you confirm the deletion. If it were nil, then `S-delete' would silently move the file to the Recycle Bin.