From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: feature request: C-k safety Date: Tue, 1 Jun 2010 16:43:03 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=42329 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJTcp-0003O1-9P for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 11:43:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJTck-0003nE-29 for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 11:43:30 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:52038) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJTcj-0003n7-Uy for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 11:43:26 -0400 Received: by gyg4 with SMTP id 4so4549583gyg.0 for ; Tue, 01 Jun 2010 08:43:25 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Scott Otterson Cc: emacs-orgmode@gnu.org 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