[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] feature request: C-k safety
From: |
Scot Becker |
Subject: |
Re: [Orgmode] feature request: C-k safety |
Date: |
Tue, 1 Jun 2010 16:43:03 +0100 |
Scott,
You asked:
> 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.
In the FAQ, you can find this:
(setq org-special-ctrl-k t) before losing your work.
It's a clever compromise, though I suspect it doesn't give as much
protection as you want.
Here's what it does. From the docstring:
When t, the following will happen while the cursor is in the headline:
- When the cursor is at the beginning of a headline, kill the entire
line and possible the folded subtree below the line.
- When in the middle of the headline text, kill the headline up to the tags.
- When after the headline text, kill the tags.
Scot