emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Variable 'org-ctrl-k-protect-subtree' defaults to nil


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Variable 'org-ctrl-k-protect-subtree' defaults to nil
Date: Wed, 3 Nov 2010 23:30:20 +0100


On Nov 3, 2010, at 7:27 AM, Noorul Islam K M wrote:

<address@hidden> writes:

Hi everyone,

It's the first time I'm giving any feedback on org-mode, so first of all I would like to congratulate the original creator and all contributors on a very interesting and useful work.

I've discovered org-mode only a couple of weeks ago and was intrigued enough to restart using emacs, after several years away from it! I've been studying Org's documentation and tutorials, and started using it to help me manage my relocation from Brazil to Italy.

What I am reporting, technically, is a feature: the fact that variable 'org-ctrl-k-protect-subtree' defaults to nil. But considering how easy this makes to lose a whole subtree of data, especially for a newcomer to org-mode, I think it should be considered a serious bug. As a matter of fact, I am very surprised that C-k would be considered an admissible alternative to C-c C-x C- w/M-w, as a way to kill a subtree!

I propose that 'org-ctr-k-protect-subtree' is made to default to 't' ASAP (already costumized it in that way on my setup), and that the behavior of C-k on headings is made consistent: kill to the end of line, regardless of the visibility of the subtree.


I slightly disagree here. Most of the time I definitely want the entire
subtree to go away. I think this is the beauty of outline mode.

I agree with Norul.  C-k kills an entire visible line, and that
line has ... ellispes and therefore *contains* the folded text.
Just killing the headline would leave ... on a line by its own,
a bad state which is not good to have. This change would also
make the behavior inconsistent with other Emacs modes and behavior.

So we will keep the current default - but feel free to submit a
patch to documentation or a tutorial to points out this issue
to beginners.

Greetings.

- Carsten




reply via email to

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