From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#33336: 26; Document how to restore trashed files Date: Sat, 10 Nov 2018 16:26:07 -0500 Message-ID: References: <38efc245-0b99-483a-9f3a-01e89c822eca@default> <83tvkoaejz.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541885107 9556 195.159.176.226 (10 Nov 2018 21:25:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2018 21:25:07 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 33336@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 10 22:25:02 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 1gLakY-0002Oz-4s for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 22:25:02 +0100 Original-Received: from localhost ([::1]:40015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLame-0006T0-E8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 16:27:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLamV-0006SG-6q for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 16:27:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLamU-0007qf-GY for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 16:27:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLamU-0007qb-BW for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 16:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLamU-00044a-6Y for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 16:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Nov 2018 21:27:02 +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.154188519615605 (code B ref 33336); Sat, 10 Nov 2018 21:27:02 +0000 Original-Received: (at 33336) by debbugs.gnu.org; 10 Nov 2018 21:26:36 +0000 Original-Received: from localhost ([127.0.0.1]:45066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLam3-00043d-U0 for submit@debbugs.gnu.org; Sat, 10 Nov 2018 16:26:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLam2-00043R-3N for 33336@debbugs.gnu.org; Sat, 10 Nov 2018 16:26:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLalp-0007Oq-Nl for 33336@debbugs.gnu.org; Sat, 10 Nov 2018 16:26:23 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLalb-0006VL-Qf; Sat, 10 Nov 2018 16:26:07 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gLalb-0000ld-FX; Sat, 10 Nov 2018 16:26:07 -0500 X-Spook: National Guard FIPS140 White House Al-Shabaab SHA Forest X-Ran: 8i5)@0xEagYJ;2k*MA^_ks9LGD4z=0?@Cp"D1PrfT|]#"eER7$]D3[_+J_'r>}Rv@-HOk' X-Hue: brightblack X-Attribution: GM In-Reply-To: <83tvkoaejz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Nov 2018 22:00:16 +0200") 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:152272 Archived-At: Eli Zaretskii wrote: > 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. I don't see how moving something out of trash is different to moving it in this regard. On GNU systems, the only relevant mechanism is the freedesktop trash spec that move-file-to-trash implements. It looks like it would be straightforward for someone who wanted to to write a move-file-from-trash that restores files according to the trashinfo file, and this could be hooked into dired.