emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Variable 'org-ctrl-k-protect-subtree' defaults to nil
@ 2010-11-02 15:14 pjmtavares
  2010-11-03  6:27 ` Noorul Islam K M
  0 siblings, 1 reply; 4+ messages in thread
From: pjmtavares @ 2010-11-02 15:14 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --]


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.


   Best regards,

      Paulo Tavares.
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1463 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Variable 'org-ctrl-k-protect-subtree' defaults to nil
  2010-11-02 15:14 Variable 'org-ctrl-k-protect-subtree' defaults to nil pjmtavares
@ 2010-11-03  6:27 ` Noorul Islam K M
  2010-11-03  9:22   ` Alan L Tyree
  2010-11-03 22:30   ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Noorul Islam K M @ 2010-11-03  6:27 UTC (permalink / raw)
  To: pjmtavares; +Cc: emacs-orgmode

<pjmtavares@hotmail.com> 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. 

Thanks and Regards
Noorul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: Variable 'org-ctrl-k-protect-subtree' defaults to nil
  2010-11-03  6:27 ` Noorul Islam K M
@ 2010-11-03  9:22   ` Alan L Tyree
  2010-11-03 22:30   ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Alan L Tyree @ 2010-11-03  9:22 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, 03 Nov 2010 11:57:15 +0530
Noorul Islam K M <noorul@noorul.com> wrote:

> <pjmtavares@hotmail.com> 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. 
> 
> Thanks and Regards
> Noorul

I agree with the original poster. It's true that experienced users
"want the entire subtree to go away", but it is going to be one hell of
a bit surprise for novices. Gurus can set this variable (and any other)
to suit their needs, but org-mode ought to work out-of-the-box in a way
that protects us kids.

Thanks for a terrific product!

Alan
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 


-- 
Alan L Tyree                    http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: Variable 'org-ctrl-k-protect-subtree' defaults to nil
  2010-11-03  6:27 ` Noorul Islam K M
  2010-11-03  9:22   ` Alan L Tyree
@ 2010-11-03 22:30   ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-11-03 22:30 UTC (permalink / raw)
  To: Noorul Islam K M; +Cc: pjmtavares, emacs-orgmode


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

> <pjmtavares@hotmail.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-04  1:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02 15:14 Variable 'org-ctrl-k-protect-subtree' defaults to nil pjmtavares
2010-11-03  6:27 ` Noorul Islam K M
2010-11-03  9:22   ` Alan L Tyree
2010-11-03 22:30   ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).