From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johannes Weiner Newsgroups: gmane.emacs.devel Subject: Re: Why @#! is not Emacs using the Recycle bin on w32? Date: Sat, 30 Aug 2008 11:11:37 +0200 Message-ID: <87d4jqq33q.fsf@skyscraper.fehenstaub.lan> References: <48B7288E.3040503@gmail.com> <87wshzpszz.fsf@skyscraper.fehenstaub.lan> <48B85518.3000208@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220088592 9472 80.91.229.12 (30 Aug 2008 09:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2008 09:29:52 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 30 11:30:46 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 1KZMn4-0005ZY-Mk for ged-emacs-devel@m.gmane.org; Sat, 30 Aug 2008 11:30:42 +0200 Original-Received: from localhost ([127.0.0.1]:55860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZMm5-0004tH-Vg for ged-emacs-devel@m.gmane.org; Sat, 30 Aug 2008 05:29:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZMV8-0000sG-KJ for emacs-devel@gnu.org; Sat, 30 Aug 2008 05:12:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZMV5-0000ri-9R for emacs-devel@gnu.org; Sat, 30 Aug 2008 05:12:08 -0400 Original-Received: from [199.232.76.173] (port=53652 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZMV3-0000rW-Vd for emacs-devel@gnu.org; Sat, 30 Aug 2008 05:12:06 -0400 Original-Received: from saeurebad.de ([85.214.36.134]:54421) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZMV3-00042q-Kx for emacs-devel@gnu.org; Sat, 30 Aug 2008 05:12:05 -0400 Original-Received: by saeurebad.de (Postfix, from userid 107) id 813AA4A000A; Sat, 30 Aug 2008 11:11:57 +0200 (CEST) Original-Received: from localhost (217-68-166-87.dynamic.primacom.net [217.68.166.87]) by saeurebad.de (Postfix) with ESMTP id 6F8C04A0008; Sat, 30 Aug 2008 11:11:51 +0200 (CEST) In-Reply-To: <48B85518.3000208@gmail.com> (Lennart Borgman's message of "Fri, 29 Aug 2008 21:59:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:103251 Archived-At: "Lennart Borgman (gmail)" writes: > Johannes Weiner wrote: >> "Lennart Borgman (gmail)" writes: >> >>> I just deleted a file because I misunderstood dired. I needed that file >>> (of course). >> >> Do you see the paradoxon? > > I don't know. What is it? Sounds like some fairytale animal. Sorry, translation error. Remove the -on ending by either deleting it or moving it into the trash-can. >> Would it be feasible to extend the documentation on this? I suspect >> that you don't use dired without ever looking at the documentation at >> all, so a note in the docstring (and info file) that explains that >> `delete' means `delete' would be enough to prevent this >> misunderstanding? > > Thanks, I am sorry, but I really do not think so. This is not a logical > misunderstanding. It is an expectation on the behaviour of the UI. Why do you expect it from the UI in the first place? Even on Windows there are probably more interfaces to delete a file that don't have a notion of a trash can than interfaces that have. But whatever the fix is, please don't have me extend my ~/emacs/garbage-collect.el to sanitize the dired behaviour again. What I mean to say is: if your expectation of the the interface differs from what has been there for a long time, do not punish long-standing users with new annoying warnings, silent/noisy behaviour change, creation of stuff like ~/Trash or another flag which they have to set instead of the people requesting different behaviour. > However mentioning there how to turn on the Recycle Bin support (or > whatever it will be called) would be a good thing. Agreed. Hannes