From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: patch about moving file (or directory) to the Recycle Bin on Windows NT series Date: Tue, 22 Apr 2008 21:15:10 -0400 Message-ID: References: <480E515E.4050904@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208913568 8316 80.91.229.12 (23 Apr 2008 01:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2008 01:19:28 +0000 (UTC) Cc: Eli Zaretskii , Toru TSUNEYOSHI , emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 23 03:20:02 2008 connect(): Connection refused 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 1JoTeN-0004EG-O6 for ged-emacs-devel@m.gmane.org; Wed, 23 Apr 2008 03:19:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoTdi-0006iM-1f for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 21:19:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JoTa1-0005EU-3F for emacs-devel@gnu.org; Tue, 22 Apr 2008 21:15:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JoTZz-0005Cs-Dv for emacs-devel@gnu.org; Tue, 22 Apr 2008 21:15:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoTZz-0005Cj-0y for emacs-devel@gnu.org; Tue, 22 Apr 2008 21:15:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JoTZn-0006xh-MQ; Tue, 22 Apr 2008 21:15:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4CAHMqDkjO+KGddGdsb2JhbACBUpACASqbLw X-IronPort-AV: E=Sophos;i="4.25,696,1199682000"; d="scan'208";a="18899217" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 22 Apr 2008 21:15:10 -0400 Original-Received: from pastel.home ([206.248.161.157]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id DFM90610; Tue, 22 Apr 2008 21:15:10 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AFED68066; Tue, 22 Apr 2008 21:15:10 -0400 (EDT) In-Reply-To: <480E515E.4050904@gnu.org> (Jason Rumney's message of "Tue, 22 Apr 2008 21:58:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:95815 Archived-At: > I would go further, and define it without the w32_ prefix in fileio.c with > a suitable #ifdef (HAVE_TRASHCAN for example). If this feature is useful, > then we will want to implement it on other platforms too. There seem to be > a limited number of Trash directory implementations that cover Gnome, KDE > and Mac OSX, and we should be able to figure out from the filesystem which > implementation to use, either directly moving files into the .Trash > directory, or calling a function like g_file_trash if the appropriate > library is linked. Agreed, Stefan