emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] org-toggle-headline inserts "TODO" regardless of local definit


From: Ihor Radchenko
Subject: Re: [BUG] org-toggle-headline inserts "TODO" regardless of local definitions [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)]
Date: Sat, 08 Oct 2022 12:48:25 +0800

Tim Cross <theophilusx@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>



reply via email to

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