emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: C-k keystroke kills the subtree
Date: Sat, 25 Apr 2009 15:28:56 +0100	[thread overview]
Message-ID: <49F31E28.8020904@wilkesley.net> (raw)
In-Reply-To: <461D034D-8269-4C93-A988-BC8944DA8E28@mail.ru>


> 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.

      reply	other threads:[~2009-04-25 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-25 10:47 C-k keystroke kills the subtree Dmitry Prokashev
2009-04-25 14:28 ` Ian Barton [this message]

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.orgmode.org/

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

  git send-email \
    --in-reply-to=49F31E28.8020904@wilkesley.net \
    --to=lists@wilkesley.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@manor-farm.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).