emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Use the same TODO keyword as the current heading


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] Use the same TODO keyword as the current heading
Date: Tue, 17 Oct 2017 09:47:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Allen Li <address@hidden> writes:

> This makes org-insert-todo-heading-respect-content use the previous
> heading of the same level instead of the previous heading regardless
> of level.
>
> Given:
>
>    * TODO some task
>    ** WAITING other task
>
> The original code yields:
>
>    * TODO some task
>    ** WAITING other task
>    * WAITING
>
> This commit yields:
>
>    * TODO some task
>    ** WAITING other task
>    * TODO
>
> * lisp/org.el (org-insert-todo-heading): Use keyword of previous same
>   level heading

Thank you. 

Would you mind adding a test in "test-org.el", to
`insert-todo-heading-respect-content' test?

Regards,

-- 
Nicolas Goaziou



reply via email to

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