From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: delete-file to trash Date: Sat, 22 May 2010 00:13:51 +0200 Message-ID: References: <201005212332.03856.tassilo@member.fsf.org> <201005212358.39822.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274480063 13626 80.91.229.12 (21 May 2010 22:14:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 22:14:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 00:14:21 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OFaU0-0003FI-9t for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 00:14:20 +0200 Original-Received: from localhost ([127.0.0.1]:46529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFaTz-0002Ab-I8 for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 18:14:19 -0400 Original-Received: from [140.186.70.92] (port=43246 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFaTt-0002AT-73 for emacs-devel@gnu.org; Fri, 21 May 2010 18:14:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFaTr-0007QV-So for emacs-devel@gnu.org; Fri, 21 May 2010 18:14:13 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:64930) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFaTr-0007QQ-Ow for emacs-devel@gnu.org; Fri, 21 May 2010 18:14:11 -0400 Original-Received: by gyg4 with SMTP id 4so933261gyg.0 for ; Fri, 21 May 2010 15:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=M5Pps7cD2FBGMC9pc8PwVoFvaXaq+oCVDBpnltXXmO4=; b=t3zR+/AzGADD1PvNDBqaHUPkIpnOu7p9LTQH6nr2LBJvRVdz8ECsUD4oDSpeGPwol3 BcgDUFufUTPuzWae1tEwA5mdwAdCw80HUncZeL0OMrZLBnKkSxDgibC8uZ8gMMjd/Qz+ 1dTsk+789Pt05uUdtB4KNvZVwoe66b4p5Nmnk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=bdS/aaF085P/xLb9eLeHD8Jdksca0JtPjqfQ7eQqX3EijFdad9kKIW81E0cJEiM+oc WtPiZCxhoxsDt1zB9AlwRRqw9Cgye0dOEjq3PS+zY2ZIfYj2CQCmJZxEKPADLtFhVnfY UzNgfqfnu8e6h24kten2oNRfSmOTGTJSZlfFw= Original-Received: by 10.101.5.18 with SMTP id h18mr2695134ani.120.1274480051165; Fri, 21 May 2010 15:14:11 -0700 (PDT) Original-Received: by 10.100.177.20 with HTTP; Fri, 21 May 2010 15:13:51 -0700 (PDT) In-Reply-To: <201005212358.39822.tassilo@member.fsf.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:125015 Archived-At: On Fri, May 21, 2010 at 11:58 PM, Tassilo Horn wro= te: >> > >> > Basically no application except file managers delete by moving to >> > trash. >> >> I thought all GUI applications moved files to trash when the user >> deleted them. Is not that the case? > > What GUI applications deal with files in a user-visible way? Any app that opens or saves a file. On w32 such apps can delete files. > I know > only file managers (or specialized file managers like photo managers or > music managers), Isn't Emacs such a program? ;-) > and maybe email programs when using Maildir. =C2=A0And the > latter normally delete by moving to trash, but not to the freedesktop > trashcan but a custom trash email folder. Seems ok. > But many apps (GUI or not) use files internally (just like emacs and > apps on the elisp platform), and those will never show up in trash when > they are deleted. ' Hm, yes. That seems correct too. I think the problem is to distinguish between user initiated file deletions and deletion of internal files.