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: Sun, 31 Aug 2008 14:31:40 +0200 Message-ID: <48BA8F2C.2020603@gmail.com> References: <48B7288E.3040503@gmail.com> <20080829.120151.161624313.wl@gnu.org> <48B7F96C.5030908@gmail.com> <20080830.203755.13026242.wl@gnu.org> 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 1220185933 30591 80.91.229.12 (31 Aug 2008 12:32:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 12:32:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Werner LEMBERG Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 31 14:33:08 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 1KZm76-0007lj-Rt for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2008 14:33:05 +0200 Original-Received: from localhost ([127.0.0.1]:44257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZm67-00058S-NL for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2008 08:32:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZm5x-00054J-Di for emacs-devel@gnu.org; Sun, 31 Aug 2008 08:31:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZm5t-000519-Tg for emacs-devel@gnu.org; Sun, 31 Aug 2008 08:31:49 -0400 Original-Received: from [199.232.76.173] (port=44717 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZm5t-000516-6U for emacs-devel@gnu.org; Sun, 31 Aug 2008 08:31:49 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:39667) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZm5o-0004Zg-QP; Sun, 31 Aug 2008 08:31:45 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:59921 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KZm5m-0000wK-5r; Sun, 31 Aug 2008 14:31:43 +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: <20080830.203755.13026242.wl@gnu.org> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080830-0, 2008-08-30), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KZm5m-0000wK-5r. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KZm5m-0000wK-5r 70d27ce855d3b92fbe0d41c54746f1c0 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:103312 Archived-At: Werner LEMBERG wrote: >>> I use the `libtrash' library very successfully to prevent >>> accidental data loss (since I mainly work on the console which >>> never uses the trash folder of the GUI). >> Sounds interesting. At what level does it interface? > > At the lowest one. Here some snippets of the README: > > 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". It also allows the > user to mark certain directories as "unremovable", which means that > calls to functions which would result in the loss of files under > these directories will always fail, leaving those files untouched in > their original locations. Thanks. Do I understand this correctly if I assume that you in a flexible manner can decide which files to include in this? Wonder if this is implemented in gnuwin32 too ...