[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33336: 26; Document how to restore trashed files
From: |
Eli Zaretskii |
Subject: |
bug#33336: 26; Document how to restore trashed files |
Date: |
Sat, 10 Nov 2018 22:00:16 +0200 |
> Date: Sat, 10 Nov 2018 11:31:48 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
>
> 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.