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: Sat, 30 Aug 2008 00:25:02 +0200 Message-ID: <48B8773E.4000908@gmail.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> <001001c90a25$73112160$0200a8c0@us.oracle.com> 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 1220048729 15337 80.91.229.12 (29 Aug 2008 22:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 22:25:29 +0000 (UTC) Cc: emacs-devel@gnu.org, 'Gilaras Drakeson' To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 30 00:26:21 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 1KZCQ5-0000hQ-RL for ged-emacs-devel@m.gmane.org; Sat, 30 Aug 2008 00:26:18 +0200 Original-Received: from localhost ([127.0.0.1]:49886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCP7-0008Gw-2t for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 18:25:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZCP2-0008GL-N1 for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:25:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZCP2-0008Fq-61 for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:25:12 -0400 Original-Received: from [199.232.76.173] (port=59095 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCP2-0008Fk-2W for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:25:12 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:53686) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZCOz-0006Z8-Vg for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:25:11 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64419 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KZCOw-0001ty-9F; Sat, 30 Aug 2008 00:25:07 +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: <001001c90a25$73112160$0200a8c0@us.oracle.com> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080829-0, 2008-08-29), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1KZCOw-0001ty-9F. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KZCOw-0001ty-9F 12bdf5174cfc4fd1f96e575f90e91b0a 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:103224 Archived-At: Drew Adams wrote: >> 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? Ok, that is another way to do it. I thought it might be good to ask in both cases. However the suggestion that a message could tell the user how to undo the "move-to-trash" immediately seems like a better alternative (and it fits together with your suggestion).