fd1d2992f6
* lisp/org.el (org-ctrl-k-protect-subtree): New option. (org-kill-line): Protect hidden subtrees if the user wants it. * doc/org.texi (Headlines): Mention the special behavior of C-k in headlines. Scott Otterson writes: > 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. Carsten replies > This is now possible due to the variable > `org-ctrl-k-protect-subtree'. But I predict that you are going to set > it to nil again soon :D |
||
---|---|---|
BUGFIXING | ||
EXPERIMENTAL | ||
ORGWEBPAGE | ||
UTILITIES | ||
contrib | ||
doc | ||
lisp | ||
testing/org-html | ||
xemacs | ||
.dir-locals.el | ||
.dir-settings.el | ||
.gitignore | ||
ChangeLog | ||
Makefile | ||
README | ||
README_DIST | ||
README_GIT | ||
request-assign-future.txt |
README
This is the Emacs Org project, an emacs subsystem for organizing your life The homepage of Org is at http://orgmode.org This distribution contains: README This file. README_DIST The README file for the distribution (zip and tar files) README_GIT Information about the git repository and how to contribute to Org-mode development. lisp/ Directory with all the Emacs Lisp files that make up Org. doc/ The documentation files. org.texi is the source of the documentation, org.html and org.pdf are formatted versions of it. xemacs/ The xemacs directory contains special code for XEmacs users, in particular a port of the GNU Emacs outline.el to XEmacs. Org-mode does not work under XEmacs without this file installed. It did until version 4.37, but no longer. contrib/ A directory with third-party additions for Org. Some really cool stuff is in there. ORGWEBPAGE/ Directory with the source files for the orgmode.org web page. ChangeLog The standard ChangeLog file. Makefile The makefile to compile and install Org, and also for maintenance tasks. request-assign-future.txt The form that contributors have to sign and get processed with the FSF before contributed changes can be integrated into the Org core. All files in this distribution except the CONTRIB directory have copyright assigned to the FSF. EXPERIMENTAL Experimental code, not necessarily FSF copyright.