alain.coch...@unistra.fr writes: > M-x undo > > I visually see no change, but I can observe by unfolding the headline > that 'bar' has disappeared. In my understanding of the documentation > above and of the docstring for org-fold-catch-invisible-edits, this > should only happen with 'nil'. > > What am I understanding incorrectly? Thank you.
Only a handful of interactive commands support invisible edit checks. In particular: self-insert-command (typing), deleting char forward/backward, and `org-meta-return'. I guess we may instead provide a defcustom and hook the check into `pre-command-hook'. Would it be of interest? > PS: a very minor incidental point: after 'bar' has disappeared, the > headline is then void, so I tend to say that the ellipsis should > immediately disappear as well. The headline still contains newlines. -- 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>