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 12:25:55 +0200 Message-ID: References: <201005212215.13527.tassilo@member.fsf.org> <201005212332.03856.tassilo@member.fsf.org> <83ljbczeew.fsf@gnu.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 1274524819 21455 80.91.229.12 (22 May 2010 10:40:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 10:40:19 +0000 (UTC) Cc: tassilo@member.fsf.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 12:40:18 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 1OFm7u-0007nN-3m for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 12:40:18 +0200 Original-Received: from localhost ([127.0.0.1]:41441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFluV-0000sK-9G for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 06:26:27 -0400 Original-Received: from [140.186.70.92] (port=60411 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFluM-0000ry-1I for emacs-devel@gnu.org; Sat, 22 May 2010 06:26:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFluK-0001C2-E4 for emacs-devel@gnu.org; Sat, 22 May 2010 06:26:17 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:45457) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFluK-0001By-9e; Sat, 22 May 2010 06:26:16 -0400 Original-Received: by gyg4 with SMTP id 4so1164018gyg.0 for ; Sat, 22 May 2010 03:26:15 -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=yu8SxHkJ6PgHmyAJndxeuGzFQFF2D7X8Ywuwsggg2rU=; b=SA3gaNxTN5wkbo6pzjN9x8o69L20bqKTOosk/9Lx0ckSvmTuJ85+VShf3y1JEJEfFq CE6uXsyZp3J2tJFv+6/ut/+9oxQg1pMsn5/LinW4+av37ot8inzo8sg6Wm9rVtuM0a4r AH7uI0XPPNrv2fVrztNKat7jT4DEMKnoRFcxo= 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=wp9fSKBq5yC3OLNAfnsOwCKwIRrhc5OP8skyMvXq96+F59EDt10Ln5O5/ERV9X41/+ c5tBo7+TvDLQ0udZT7zpLY8IUX8Djikg8ITMA/as43qtkSFwhwuwIBBY02kCBXkGUTsw ZmNd3W3km0nORi9uvK5Akrw4k9UKZROE0v0dQ= Original-Received: by 10.101.202.2 with SMTP id e2mr3341937anq.269.1274523975367; Sat, 22 May 2010 03:26:15 -0700 (PDT) Original-Received: by 10.100.177.20 with HTTP; Sat, 22 May 2010 03:25:55 -0700 (PDT) In-Reply-To: <83ljbczeew.fsf@gnu.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:125052 Archived-At: On Sat, May 22, 2010 at 7:36 AM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Fri, 21 May 2010 23:44:52 +0200 >> Cc: emacs-devel@gnu.org >> >> On Fri, May 21, 2010 at 11:32 PM, Tassilo Horn = wrote: >> > >> >> Wouldn't it be strange if Emacs as the only application had moving to >> >> trunk disabled by default? >> > >> > Basically no application except file managers delete by moving to tras= h. >> >> >> I thought all GUI applications moved files to trash when the user >> deleted them. Is not that the case? > > No. =C2=A0On Windows, the move to Recycle Bin is the function of the > Windows Explorer, which is a file manager. =C2=A0Applications that want t= o > do that need to call the special API implemented by the Explorer. > Applications that are not file managers don't. Yes, of course. But does not all GUI applications do that? (It is for example used when opening/saving a file.) > They call the Windows > API which simply deletes. =C2=A0A trivial example is cmd.exe, whose "del" > command deletes files, it does not move them to Recycle Bin. A trivial example of a non-GUI application, yes.