> I did a git bisect test, found the bad commit. > "ee3c3b554 | * bad org.el: Allow empty subtrees to be folded back"
Additional observation: The unfolding does not happen because org-cycle-show-empty-lines _always_ reveals trailing empty lines at the end of buffer. It breaks the assumption in org-cycle-internal-local that end of folded subtree must always be the same as the end of the folded region. Before ee3c3b554, that situation was handled by additional check, but it is not the case anymore. Best, Ihor stardiviner <numbch...@gmail.com> writes: > Bastien <b...@gnu.org> writes: > >> Hi, >> >> stardiviner <numbch...@gmail.com> writes: >> >>> I also did a bisect debug. Found the function ~org-cycle-show-empty-lines~ >>> in hook >>> ~org-cycle-hook~ caused this problem. >> >> Did you find the commit that introduces this bug? > > I did a git bisect test, found the bad commit. > > "ee3c3b554 | * bad org.el: Allow empty subtrees to be folded back" > >> >> Also, if you can provide a patch, please go ahead. >> > > Can't help on this. Don't know much on regexp matching and position boundries > etc. > > Will keep improving skill. > > -- > [ stardiviner ] > I try to make every word tell the meaning that I want to express. > > Blog: https://stardiviner.github.io/ > IRC(freenode): stardiviner, Matrix: stardiviner > GPG: F09F650D7D674819892591401B5DF1C95AE89AC3