Xuan Wang <xuan.pub...@gmail.com> writes: > --text follows this line-- > > Problem: Now org-insert-todo-heading-respect-content does not respect the > TODO > state of current heading. > > How to reproduce: > Example: define a todo sequence as followed: > "#+TODO: WAIT(w@/!) TODO(t) | DONE(d) CANCELED(c@)" > ...
Thanks for reporting and for the detailed analysis! Fixed, on main. Now, we just pass the prefix args directly to `org-insert-todo-heading'. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ba8c46863 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>