From: Dmitry Prokashev <xpostman@mail.ru>
To: emacs-orgmode@gnu.org
Subject: C-k keystroke kills the subtree
Date: Sat, 25 Apr 2009 14:47:32 +0400 [thread overview]
Message-ID: <461D034D-8269-4C93-A988-BC8944DA8E28@mail.ru> (raw)
Hello there.
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.
Probably its a good idea to review C-k behaviour in org mode. It may
remove a single line (subtree header), expand the tree thus attaching
it to the previous subtree of the same level, for example. And to
remove the whole collapsed subtree, the user should mark it with a
region and remove it using C-w thus providing something like a
confirmation that he really wants to remove the whole subtree. Well
this is just a set of ideas, but anyway I suppose that C-k should not
remove the whole (collapsed) tree. My case was the root-level subtree,
so I've lost about 1/5th of my file.
And yes, thanks for a great tool, this is very usefull for me, and
good luck!
Best regards,
Dmitry Prokashev, St. Petersburg, Russia
next reply other threads:[~2009-04-25 10:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-25 10:47 Dmitry Prokashev [this message]
2009-04-25 14:28 ` C-k keystroke kills the subtree Ian Barton
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=461D034D-8269-4C93-A988-BC8944DA8E28@mail.ru \
--to=xpostman@mail.ru \
--cc=emacs-orgmode@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.
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).