emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] feature request: C-k safety


From: Carsten Dominik
Subject: Re: [Orgmode] feature request: C-k safety
Date: Thu, 3 Jun 2010 00:19:51 +0200

Hi Scott,

OK, I am giving you a variable org-ctrl-k-protect-subtree to get this protection, either with a query or by throwing an error.
But:  my prediction is that you will set this variable to nil again  
soon :D
Let me know how it goes.

Cheers

- Carsten

On Jun 1, 2010, at 4:51 PM, Scott Otterson wrote:

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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]