From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: Why @#! is not Emacs using the Recycle bin on w32? Date: Sun, 31 Aug 2008 23:49:03 +0200 (CEST) Message-ID: <20080831.234903.00093778.wl@gnu.org> References: <48B7F96C.5030908@gmail.com> <20080830.203755.13026242.wl@gnu.org> <48BA8F2C.2020603@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 1220219362 5637 80.91.229.12 (31 Aug 2008 21:49:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 21:49:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: lennart.borgman@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 31 23:50:16 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 1KZuoD-0000jl-R5 for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2008 23:50:10 +0200 Original-Received: from localhost ([127.0.0.1]:43588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZunF-0005WE-3W for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2008 17:49:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZunA-0005V2-8E for emacs-devel@gnu.org; Sun, 31 Aug 2008 17:49:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZun8-0005UC-CQ for emacs-devel@gnu.org; Sun, 31 Aug 2008 17:49:03 -0400 Original-Received: from [199.232.76.173] (port=51135 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZun8-0005U9-6u for emacs-devel@gnu.org; Sun, 31 Aug 2008 17:49:02 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:57665) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZun6-0006py-U4 for emacs-devel@gnu.org; Sun, 31 Aug 2008 17:49:01 -0400 Original-Received: from localhost (ip-78-94-13-134.hsi.ish.de [78.94.13.134]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KZun53VrA-0003SG; Sun, 31 Aug 2008 23:49:00 +0200 In-Reply-To: <48BA8F2C.2020603@gmail.com> X-Mailer: Mew version 5.2.53 on Emacs 23.0.50.2 / Mule 5.0 (SAKAKI) X-Provags-ID: V01U2FsdGVkX1/3tWzUs0PJQmk2l9yOIB30GvOTlVdGRVLgBIp p+sseZifb5QwU3c8NTTZN4pIXbHS4NHkh2JJDfY58t3zagw2rp CcnzH1Q8c3gf1uw+M12lA== 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:103339 Archived-At: > > libtrash is a shared library which, when preloaded, will > > intercept calls to a series of GNU libc functions and make sure > > that, if an attempt to destroy certain files is made, these > > won't be permanently destroyed but rather moved to a "trash > > can". [...] > > Thanks. Do I understand this correctly if I assume that you in a > flexible manner can decide which files to include in this? Of course. For example, to make firefox not use the trash mechanism, say TRASH_OFF=YES firefox on the command line. Globally, you can specify which files and directories are never handled; this is compiled into the library. All users can add a local `.libtrash' file in the home directory. Werner