unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 33336@debbugs.gnu.org
Subject: bug#33336: 26; Document how to restore trashed files
Date: Sat, 10 Nov 2018 16:26:07 -0500	[thread overview]
Message-ID: <pzr2fs39qo.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83tvkoaejz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Nov 2018 22:00:16 +0200")

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.





  reply	other threads:[~2018-11-10 21:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-10 19:31 bug#33336: 26; Document how to restore trashed files Drew Adams
2018-11-10 20:00 ` Eli Zaretskii
2018-11-10 21:26   ` Glenn Morris [this message]
2018-11-11  3:35     ` Eli Zaretskii
2018-11-11 15:28       ` Eli Zaretskii
     [not found]       ` <<83o9avab16.fsf@gnu.org>
2018-11-11 16:52         ` Drew Adams
2018-11-11 17:22           ` Eli Zaretskii
     [not found]   ` <<pzr2fs39qo.fsf@fencepost.gnu.org>
     [not found]     ` <<83pnvc9thl.fsf@gnu.org>
2018-11-11 16:47       ` Drew Adams
2018-11-11 17:24         ` Eli Zaretskii
2019-10-12 21:26   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pzr2fs39qo.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=33336@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).