unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: recover files deleted in Emacs on Ubuntu
Date: Mon, 18 May 2009 18:19:08 +1000	[thread overview]
Message-ID: <87vdny6cxv.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: guq8ca$jfe$1@news.eternal-september.org

"funny.haha" <funny.haha@live.ca> writes:

> 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

don't use Shift+d. Instead, just use 'd', then when you have finished
marking all the files you want to delete with 'd', hit 'x' and they are
deleted. You are also prompted before the delete happens to confirm
thats what you want to do (with the list of files marked to be deleted
in a pop-up window.

Note that in Emacs 23, emacs will use a trash can by default. 

Tim

-- 
tcross (at) rapttech dot com dot au


  reply	other threads:[~2009-05-18  8:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-17 23:59 recover files deleted in Emacs on Ubuntu funny.haha
2009-05-18  8:19 ` Tim X [this message]
2009-05-19  4:37   ` Dirk-Jan C. Binnema
2009-05-18 19:27 ` Nikolaj Schumacher
2009-06-21 23:20 ` Davin Pearson
  -- strict thread matches above, loose matches on Subject: below --
2009-06-22  4:44 Dirk-Jan C. Binnema

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vdny6cxv.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).