From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: Why @#! is not Emacs using the Recycle bin on w32? Date: Sun, 31 Aug 2008 11:46:26 +0100 Message-ID: <48BA7682.9040305@harpegolden.net> References: <48B7288E.3040503@gmail.com> <48B73D8F.90501@gmail.com> <48B7AC10.6090800@gmail.com> <48B7B08B.6050103@gmail.com> <48B7F905.7060605@gmail.com> <001301c909e8$d63092e0$0200a8c0@us.oracle.com> <20080829155801.05fabc31.taylor@metasyntax.net> <48B85740.8060309@gmail.com> <20080829164637.4211a5b7.taylor@metasyntax.net> <48B86366.7040303@gmail.com> <87ljyfxz25.fsf@shellarchive.co.uk> <48B87432.6050902@gmail.com> <20080830100336.17179835.taylor@metasyntax.net> <48B95505.50808@gmail.com> <87iqtijfr9.fsf@anzu.internal.golden-gryphon.com> <48B9D20A.6080604@harpegolden.net> <87abetkg7j.fsf@anzu.internal.golden-gryphon.com> <48BA4077.5040309@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220179610 15575 80.91.229.12 (31 Aug 2008 10:46:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 10:46:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 31 12:47:44 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 1KZkT9-00051V-J9 for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2008 12:47:43 +0200 Original-Received: from localhost ([127.0.0.1]:50946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZkSA-0000nw-Le for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2008 06:46:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZkS0-0000mr-Fy for emacs-devel@gnu.org; Sun, 31 Aug 2008 06:46:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZkRz-0000mK-Dn for emacs-devel@gnu.org; Sun, 31 Aug 2008 06:46:31 -0400 Original-Received: from [199.232.76.173] (port=34575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZkRz-0000mB-2F for emacs-devel@gnu.org; Sun, 31 Aug 2008 06:46:31 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:33993) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZkRy-0001JM-O8 for emacs-devel@gnu.org; Sun, 31 Aug 2008 06:46:30 -0400 Original-Received: from golden1.harpegolden.net (unknown [86.45.10.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id B13B481DE for ; Sun, 31 Aug 2008 11:46:29 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <48BA4077.5040309@harpegolden.net> X-Enigmail-Version: 0.95.0 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:103308 Archived-At: David De La Harpe Golden wrote: > [2] NSWorkspaceRecycleOperation > http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/doc/c_ref/NSWorkspaceRecycleOperation just noting: also see http://www.nickbrawn.com/2008/08/move-to-trash/ FSMoveObjectToTrashSync may work better but is MacOSX 10.5+ only: http://developer.apple.com/documentation/Carbon/Reference/File_Manager/Reference/reference.html#//apple_ref/c/func/FSMoveObjectToTrashSync