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: Eli Zaretskii
Subject: bug#33336: 26; Document how to restore trashed files
Date: Sun, 11 Nov 2018 17:28:37 +0200

> Date: Sun, 11 Nov 2018 05:35:18 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 33336@debbugs.gnu.org
> 
> > From: Glenn Morris <rgm@gnu.org>
> > Cc: Drew Adams <drew.adams@oracle.com>,  33336@debbugs.gnu.org
> > Date: Sat, 10 Nov 2018 16:26:07 -0500
> > 
> > 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.
> 
> Where trash is just another directory, you are right.  But that's just
> one variety.

Actually, I take that back: even if trash is a directory that uses the
freedesktop trash spec, undeleting a file via Dired is not entirely
straightforward, for at least two reasons:

  . Dired is based on parsing the output of 'ls', and AFAIK GNU 'ls'
    isn't yet capable of displaying trash directories in useful,
    human-readable ways (we'd probably need to reuse/reinvent portions
    of ls-lisp?)
  . Trash directories routinely have several versions of the same
    file, and AFAIK Dired doesn't have capabilities for presenting
    several versions of the same file in a way that would facilitate
    the decision whether and which version to restore





reply via email to

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