From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: delete-file to trash Date: Sat, 22 May 2010 02:50:14 +0100 Organization: University of Cambridge Message-ID: References: <83mxvtylwg.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274493037 14448 80.91.229.12 (22 May 2010 01:50:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 01:50:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 03:50:35 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OFdrG-0005vL-OA for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 03:50:35 +0200 Original-Received: from localhost ([127.0.0.1]:41671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFdrG-00056P-7K for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 21:50:34 -0400 Original-Received: from [140.186.70.92] (port=36959 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFdrA-00056I-JF for emacs-devel@gnu.org; Fri, 21 May 2010 21:50:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFdr8-0002Ba-Kh for emacs-devel@gnu.org; Fri, 21 May 2010 21:50:28 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34144) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFdr8-0002BW-Aw for emacs-devel@gnu.org; Fri, 21 May 2010 21:50:26 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OFdr4-0005sy-KO for emacs-devel@gnu.org; Sat, 22 May 2010 03:50:22 +0200 Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 May 2010 03:50:22 +0200 Original-Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 May 2010 03:50:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:gqAxadGKm6oXN2iyjq8tMKd8Le8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:125031 Archived-At: On 2010-05-21 22:39 +0100, Eli Zaretskii wrote: > I think the whole idea is fundamentally flawed. Somebody got envious > of the terrible MS invention and wanted to have it on Posix platforms. > The implementation is not the culprit, it's the idea that is simply > wrong. There's no chance in the world that we could ever have a good > way of deciding programmatically when to move to trash and when not. > Only a human can decide that. > > FWIW, when I work on Windows and happen to delete files from the > Explorer, I always hold the Shift key. On 2010-05-22 01:52 +0100, Stefan Monnier wrote: > One of the first steps in my learning Unix was to learn how to > add/change an alias in my shell to replace my syadmin's default alias > of "rm" from "rm -i" to "rm -rf". Guess what: I never regretted it > (tho I've gotten rid of this alias in the mean time, because my > fingers learned to always type "rm -rf" anyway). > > And remember: I'm the guy who constantly commits changes that don't > even compile, so it's not like I'm a careful user. I think I force delete all the time too on both windows and GNU/Linux because I don't want confirmation. But if emacs move things to trash sensibly that actually is a nice feature. > OT1H the trashcan "feature" is something that enough people think they > want that we do want to support it. But OTOH I do think that people > will end up seeing the light (think of when Gnome will keep all your > files under a VCS as a matter of course), so I think "move-to-trash" > is transient and will be replaced by some kind of "automatic commit". > We don't have to worry about it yet, maybe, but we should think about > how best to deal with "move-to-trash" within this context. > > Stefan "Always have a backup" Leo