From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33336: 26; Document how to restore trashed files Date: Sat, 10 Nov 2018 22:00:16 +0200 Message-ID: <83tvkoaejz.fsf@gnu.org> References: <38efc245-0b99-483a-9f3a-01e89c822eca@default> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1541879951 11329 195.159.176.226 (10 Nov 2018 19:59:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2018 19:59:11 +0000 (UTC) Cc: 33336@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 10 20:59:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLZPO-0002pO-U7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 20:59:07 +0100 Original-Received: from localhost ([::1]:39807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLZRV-0003Mz-3Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 15:01:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLZRO-0003ME-O9 for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 15:01:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLZRK-0004EK-0R for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 15:01:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLZRF-00044b-V1 for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 15:01:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLZRF-00023K-On for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 15:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Nov 2018 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33336 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33336-submit@debbugs.gnu.org id=B33336.15418800557870 (code B ref 33336); Sat, 10 Nov 2018 20:01:01 +0000 Original-Received: (at 33336) by debbugs.gnu.org; 10 Nov 2018 20:00:55 +0000 Original-Received: from localhost ([127.0.0.1]:45000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLZR7-00022q-1d for submit@debbugs.gnu.org; Sat, 10 Nov 2018 15:00:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLZR4-00022e-ON for 33336@debbugs.gnu.org; Sat, 10 Nov 2018 15:00:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLZQu-0003VF-6L for 33336@debbugs.gnu.org; Sat, 10 Nov 2018 15:00:43 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLZQs-0003U6-9Y; Sat, 10 Nov 2018 15:00:38 -0500 Original-Received: from [176.228.60.248] (port=1596 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gLZQq-0002wL-6Q; Sat, 10 Nov 2018 15:00:38 -0500 In-reply-to: <38efc245-0b99-483a-9f3a-01e89c822eca@default> (message from Drew Adams on Sat, 10 Nov 2018 11:31:48 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152268 Archived-At: > Date: Sat, 10 Nov 2018 11:31:48 -0800 (PST) > From: Drew Adams > > I tried to answer this question, knowing nothing about trashed files: > https://emacs.stackexchange.com/q/37492/105 I don't think your answer is correct, not on Windows anyway. > I can understand that if files are trashed to the system recycle bin > then perhaps Emacs cannot help users much in telling them how to restore > trashed files (or can it?). > > But if `trash-directory' is non-nil then can't (and shouldn't) Emacs > tell users how to restore files trashed there? Is there an Emacs > operation that does this? If not, can a user just move a file from that > directory to another (IOW, are trashed files normal files)? And is > there some way for a user to know what the original location was for a > trashed file? > > In sum, is there something that Emacs can offer users, in terms of > helping them restore trashed files? This is a system facility, Emacs just uses it. Restoring files from there is something specific to each system, and is not for Emacs to provide or document. So I don't think we should do anything with this. Users should read their OS documentation about this.