Morgan Smith <[email protected]> writes:

>>>> The second case looks like a bug.
>
> See new patch that fixes said behavior.  The worg page on org syntax
> says that COMMENT always has to come after TODO.

But did you actually fix the problem?
You removed the wrapper that comments and then comments the heading,
but there is nothing inherently wrong with that approach. The problem
probably lies inside `org-toggle-comment'.

> You know that makes a lot of sense.  Currently, if one breaks the
> test-suite then they know they probably messed up.  If I fill the
> test-suite full of undefined behavior then people might get too
> comfortable changing the test suite.  I hadn't considered that and I do
> think that concept has merit.
>
> I realized only a few of those where actually undefined behavior so I
> removed those.  I think we can grantee the remaining cases.
>
> I'll ponder on how to test undefined behavior but I suppose I should
> work through all the defined behavior first :P

I documented this in
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e1ef98202
and
https://git.sr.ht/~bzg/worg/commit/76c4e387

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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