* Changing behavior of org-insert-todo-heading-respect-content
@ 2017-10-15 21:50 Allen Li
2017-10-16 12:52 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Allen Li @ 2017-10-15 21:50 UTC (permalink / raw)
To: emacs-orgmode
Regarding the behavior of org-insert-todo-heading-respect-content,
bound to C-S-return, consider the following .org file:
* TODO some task
** WAITING other task
If point is on the TODO line, pressing C-S-return yields
* TODO some task
** WAITING other task
* WAITING
When I use C-S-return, I always desire
* TODO some task
** WAITING other task
* TODO
Making C-S-return do this would break backward compatibility, but I
think this behavior is more intuitive. Thoughts?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Changing behavior of org-insert-todo-heading-respect-content
2017-10-15 21:50 Changing behavior of org-insert-todo-heading-respect-content Allen Li
@ 2017-10-16 12:52 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-10-16 12:52 UTC (permalink / raw)
To: Allen Li; +Cc: emacs-orgmode
Hello,
Allen Li <vianchielfaura@gmail.com> writes:
> Regarding the behavior of org-insert-todo-heading-respect-content,
> bound to C-S-return, consider the following .org file:
>
> * TODO some task
> ** WAITING other task
>
> If point is on the TODO line, pressing C-S-return yields
>
> * TODO some task
> ** WAITING other task
> * WAITING
>
> When I use C-S-return, I always desire
>
> * TODO some task
> ** WAITING other task
> * TODO
>
> Making C-S-return do this would break backward compatibility, but I
> think this behavior is more intuitive. Thoughts?
I think the current behaviour is more than likely a bug. The one you
propose is indeed better. Would you want to provide a fix for that?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-16 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-15 21:50 Changing behavior of org-insert-todo-heading-respect-content Allen Li
2017-10-16 12:52 ` Nicolas Goaziou
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).