From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#33336: 26; Document how to restore trashed files Date: Sun, 11 Nov 2018 08:52:51 -0800 (PST) Message-ID: References: <<38efc245-0b99-483a-9f3a-01e89c822eca@default> <83tvkoaejz.fsf@gnu.org>> < <83pnvc9thl.fsf@gnu.org>> <<83o9avab16.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1541955125 8967 195.159.176.226 (11 Nov 2018 16:52:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2018 16:52:05 +0000 (UTC) Cc: 33336@debbugs.gnu.org To: Eli Zaretskii , rgm@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 17:52:01 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 1gLsxt-0002Ap-6l for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2018 17:52:01 +0100 Original-Received: from localhost ([::1]:42914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLszz-0003qY-PJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2018 11:54:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLszu-0003qR-1J for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 11:54:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLszq-0003yW-PO for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 11:54:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLszq-0003yO-KG for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 11:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLszq-0004xg-HX for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 11:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Nov 2018 16:54: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.154195518619006 (code B ref 33336); Sun, 11 Nov 2018 16:54:02 +0000 Original-Received: (at 33336) by debbugs.gnu.org; 11 Nov 2018 16:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:46642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLsyv-0004wT-W9 for submit@debbugs.gnu.org; Sun, 11 Nov 2018 11:53:06 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:43980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLsyu-0004vz-IL for 33336@debbugs.gnu.org; Sun, 11 Nov 2018 11:53:04 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wABGniPH093650; Sun, 11 Nov 2018 16:52:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=l21QvTh7XH7pSEwP31ALlI9QR1ag6OkyfaLr4Sbz9rU=; b=u4dhKke6sF5IdkrilzRQ9Ld2/3BbHnG+RTOrkuZ8ReBl0VcXa9s4TplXGtfjN/ZzIn0a COXMSxbxHi6Rn7Knszme3UXY7Nbl8XQCD+0kXgl06Nl6VrG58nOPWhPhkIoMIkR+shVN nLp4eqOhB6VprZZ3oP2xJOO0IwxfHfKoMdiq9b2pVw/SM84d3PbtQ8R63xEUd/bXNMEE 47odDFRSYV7xxuB+jOMACnUZsOsGukLmHvMZeEM3CWE2Zenzb0bn8IafPXMRlZ29pwZh 2jXaqTtXEp0eMgcMeUd4pW1WF1dckVreP2au+kF9KskqHSqHw460dUGzJhGbmJhWih8d pg== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2nnwg127wd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Nov 2018 16:52:58 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id wABGqqSJ005713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Nov 2018 16:52:53 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wABGqqsR002871; Sun, 11 Nov 2018 16:52:52 GMT In-Reply-To: <<83o9avab16.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4756.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9074 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811110160 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:152302 Archived-At: > > Where trash is just another directory, you are right. But that's > > just one variety. >=20 > 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: >=20 > . 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 But "just another directory" is more general than "directory that uses the freedesktop trash spec". At least if it is an ordinary ("just another") directory, and not a directory that uses the freedesktop trash spec, can't we help users wrt restoring files parked there?