From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.help Subject: Re: recover files deleted in Emacs on Ubuntu Date: Sun, 21 Jun 2009 16:20:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245627649 22015 80.91.229.12 (21 Jun 2009 23:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Jun 2009 23:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 22 01:40:47 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MIWeP-0001rF-76 for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Jun 2009 01:40:41 +0200 Original-Received: from localhost ([127.0.0.1]:58798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIWeO-0006Lc-7x for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Jun 2009 19:40:40 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r31g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 118.90.117.0 Original-X-Trace: posting.google.com 1245626445 7435 127.0.0.1 (21 Jun 2009 23:20:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 21 Jun 2009 23:20:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r31g2000prh.googlegroups.com; posting-host=118.90.117.0; posting-account=SVVH0AoAAABplEQzMkIR3gU7a0gK8IuF User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070323 PCLinuxOS/2.0.0.3-3pclos2007 (2007) Firefox/2.0.0.3, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170204 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65424 Archived-At: On May 18, 11:59 am, "funny.haha" wrote: > Dear All, > > I am running GNU emacs version 22.2.1 on Ubuntu. When I am in DIRED > mode, I can delete files by pressing SHIFT+D. My question is that: can I > recover the deleted files in case of a mistake? > > Obviously, the file is not in the Trash Can of Ubuntu. One work around > is to associate "dired-recursive-delete' with perhaps some customized > command that moves the file to the transh can. Does any one know how to > do this? > > Thank you for any pointer. > > Kzhu Try my trashcan.el http://davin.50webs.com/research/2006/trashcan.el.html