From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: C-k keystroke kills the subtree Date: Sat, 25 Apr 2009 15:28:56 +0100 Message-ID: <49F31E28.8020904@wilkesley.net> References: <461D034D-8269-4C93-A988-BC8944DA8E28@mail.ru> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxisL-0007Lb-UZ for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 10:29:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxisJ-0007HX-Ur for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 10:29:05 -0400 Received: from [199.232.76.173] (port=40186 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxisJ-0007HJ-Ra for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 10:29:03 -0400 Received: from li40-130.members.linode.com ([72.14.178.130]:49607) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxisJ-0002KI-Cy for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 10:29:03 -0400 Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id A900DCC6F for ; Sat, 25 Apr 2009 15:28:59 +0100 (BST) Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (wilkesley.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bcXtTxwMoNnF for ; Sat, 25 Apr 2009 15:28:59 +0100 (BST) Received: from [192.168.0.55] (unknown [217.146.125.41]) by li40-130.members.linode.com (Postfix) with ESMTPSA id D72B2CC6E for ; Sat, 25 Apr 2009 15:28:58 +0100 (BST) In-Reply-To: <461D034D-8269-4C93-A988-BC8944DA8E28@mail.ru> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: emacs-orgmode@gnu.org > I'm using org-mode for a several months and recently a sad thing > happened with me. I suddenly found that a subtree where I look into > rather rarely, but the information there is quite important, > disappeared. Obviously I have stroked C-k while the point was located on > the collapsed tree, and whole my tree disappeared and I did not even > noticed that. When I found there is no subtree, it was already too late > to restore it: there was no such change in undo history and probably I > have removed that subtree in one of my previous emacs sessions. > Dmitry, I know this isn't much help in your present predicament, but I would suggest that you have a look at "Using Version Control with Your Org Files" at http://orgmode.org/worg/org-tutorials/index.php#sec-3.3 (declaration of interest, I wrote it). Using a VCS in conjunction with cron considerably mitigates the impact of such disasters. Provided you commit your changes frequently (e.g. with cron), you can normally recover almost anything you deleted in error. Ian.