Michael Dauer <mick.da...@gmail.com> writes: > I probably mis-interpreted the code. Because then I would also fail for > normal headings. Just thinking about the symptoms I think the issue Is that > (org-end-of-subtree) works with type 'headline. And inlinetask is a > different type, right?
Yes. Inlinetask is not considered a subtree of its own. Just like other foldable elements (lists/drawers/blocks) are not considered subtrees. > IMO org-mode should consistently treat inlinetasks including the END line > as a branch. Then org-cut-special would do something useful on them, i.e. > cutting the inlinetask includinging its contents and the END line. It would not be consistent. We already do not treat, for example, lists special in `org-cut-special'. -- 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>