From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Concerning delete-by-moving-to-trash on free systems Date: Thu, 27 Nov 2008 11:09:27 +0100 Message-ID: <87od01tr8o.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227780594 30495 80.91.229.12 (27 Nov 2008 10:09:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 10:09:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 27 11:10:56 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 1L5dpo-0006RL-2O for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 11:10:56 +0100 Original-Received: from localhost ([127.0.0.1]:36004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5doe-0004fg-SV for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 05:09:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5doS-0004Zw-R4 for emacs-devel@gnu.org; Thu, 27 Nov 2008 05:09:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5doR-0004Z3-Qf for emacs-devel@gnu.org; Thu, 27 Nov 2008 05:09:32 -0500 Original-Received: from [199.232.76.173] (port=40769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5doR-0004Ys-Iw for emacs-devel@gnu.org; Thu, 27 Nov 2008 05:09:31 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:3380) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5doQ-00054I-Oj for emacs-devel@gnu.org; Thu, 27 Nov 2008 05:09:30 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 40BF4789AAFE for ; Thu, 27 Nov 2008 11:09:30 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14656-01 for ; Thu, 27 Nov 2008 11:09:27 +0100 (CET) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (dhcp83.uni-koblenz.de [141.26.71.83]) by deliver.uni-koblenz.de (Postfix) with ESMTP id D40B1789AA64 for ; Thu, 27 Nov 2008 11:09:27 +0100 (CET) Mail-Copies-To: never Mail-Followup-To: emacs-devel@gnu.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/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:106221 Archived-At: Hi all, I've just found out about that option, and basically it's nice. But in order to integrate emacs on the modern GNU desktop the moving to trash should be in compliance with the Freedesktop.org Trash Specification [1] on systems that support it. This spec enables undoing of deletions which requires storage of some metadata of course. Beside from not conforming to this standard, the current implementation has other drawbacks. - Delete a directory foo which contains the files a and b recursively (from within dired). Then goto the trash-directory. Now foo, a and b are side by side. - Now delete another file named a. This file is really deleted, because a already exists in trash. (Overwriting would be as bad as the current decision.) Bye, Tassilo __________ [1] http://www.freedesktop.org/wiki/Specifications/trash-spec?action=show&redirect=Standards%2Ftrash-spec