Tim Cross <theophil...@gmail.com> writes: > I do wonder if the doc string for org-toggle-heading needs updating. It > makes no reference to making a list item a todo heading if it looks like > a todo item. I was actually surprised that org-toggle-heading adds > keywords at all. While headings and todo items are certainly related, my > expectation would be that a function called org-toggle-heding would do > just that - add stars if none exist and remove them if they do. I would > not necessarily expect a list item to be converted to a todo heading, > only a heading.
I now added the relevant explanation to the docstring. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ae028d0a2546eea90fdb3d8d84b084bcb03f0d9c Note that I do find the checkbox/TODO conversion logical. We may, of course, add a customization for this behaviour if sufficient interest is present. -- 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>