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: Sat, 30 Aug 2008 00:12:02 +0200 Message-ID: <48B87432.6050902@gmail.com> References: <48B7288E.3040503@gmail.com> <48B73AA9.5090900@gnu.org> <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> 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 1220048100 13519 80.91.229.12 (29 Aug 2008 22:15:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 22:15:00 +0000 (UTC) Cc: jasonr@gnu.org, Taylor Venable , 'David House' , 'Eli Zaretskii' , emacs-devel@gnu.org, Drew Adams To: Phil Jackson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 30 00:15:53 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 1KZCG0-0006of-Lm for ged-emacs-devel@m.gmane.org; Sat, 30 Aug 2008 00:15:52 +0200 Original-Received: from localhost ([127.0.0.1]:38539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCF1-0002K7-Vg for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 18:14:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZCCs-00018I-6h for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:12:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZCCp-00015n-ON for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:12:37 -0400 Original-Received: from [199.232.76.173] (port=53833 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCCp-00015O-Hs for emacs-devel@gnu.org; Fri, 29 Aug 2008 18:12:35 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:48250) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZCCj-0002eC-5p; Fri, 29 Aug 2008 18:12:29 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64689 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KZCCe-0002pX-83; Sat, 30 Aug 2008 00:12:24 +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: <87ljyfxz25.fsf@shellarchive.co.uk> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080829-0, 2008-08-29), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1KZCCe-0002pX-83. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KZCCe-0002pX-83 abdc92430f96966b816cdb3f78dbc5a4 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:103221 Archived-At: Phil Jackson wrote: > "Lennart Borgman (gmail)" writes: > >>>> Why not try to take that up with the GNU/Linux developers? >>> The simple answer is because the GNU/Linux (or rather, Unix in general) >>> architecture does not operate like Windows does with respect to this >>> tight level of integration. Even getting the GNOME and KDE guys to use >>> the same place would not solve the problem >> They should come together and donate their common solution for trash can >> handling as something that comes with the system. > > But who gets to decide what the 'system' is? I use a very basic tiled > window manager and no desktop environment. All of my file manipulation > happens in the shell or dired (whichever I'm nearest at the time). So, > do rm and emacs need to know about it? Does unlink() need to know about > it? The filesystem? The kernel itself? As I explained in a previous message, what I propose is an interface for trash can handling that always comes with the system. There need not be any implementation behind that interface. The deleting routine should ask the interface. Ideally of cause an implementation behind the interface should be there too in case you do not have a very, very special need to avoid it. > One can make assumptions about a Windows system (like every user using > explorer.exe), but not really about a GNU/Linux system. Is not that then a shortcoming of GNU/Linux compared with Windows? > Cheers, > Phil