bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33336: 26; Document how to restore trashed files


From: Glenn Morris
Subject: bug#33336: 26; Document how to restore trashed files
Date: Sat, 10 Nov 2018 16:26:07 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]