all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Scott Otterson <scotto@sharpleaf.org>
To: emacs-orgmode@gnu.org
Subject: feature request: C-k safety
Date: Tue, 1 Jun 2010 16:51:10 +0200	[thread overview]
Message-ID: <AANLkTimg-tiyBvSNbGRzIGJfeAgxijD8Vx-9PFpC3kIc@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 876 bytes --]

For what must be the dozenth time, I've just accidentally deleted a large
tree by typing C-k while in a headline.

This is really easy to do because emacs users have "C-k deletes to the end
of the line" worn deeply into their neural pathways -- it's so automatic for
me that the keystroke is close to subconscious.  A mistaken C-k is
especially hard to detect because org-mode displays the result exactly like
what your subconscious expects, that is, a collapsed headline is deleted to
the end -- and the tree underneath is wiped out with no noticeable warning.

Feature request: add an option preventing tree deletion with C-k without
user confirmation.  Actually, I'd like an option to prevent it period.

If this option is already in there, then you're encouraged to tell me to
RTFM.  But then also please tell me where it is, because I can't find it.

Thanks much,

Scott

[-- Attachment #1.2: Type: text/html, Size: 1048 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-06-01 14:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 14:51 Scott Otterson [this message]
2010-06-01 15:43 ` feature request: C-k safety Scot Becker
2010-06-02 22:19 ` Carsten Dominik
2010-06-03  6:24   ` Scott Otterson
2010-06-03 11:11   ` Juri Krivov

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

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

  git send-email \
    --in-reply-to=AANLkTimg-tiyBvSNbGRzIGJfeAgxijD8Vx-9PFpC3kIc@mail.gmail.com \
    --to=scotto@sharpleaf.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.