A simple temporary solution to this bug is remove hook function from ~org-cycle-hook~:
#+begin_src emacs-lisp (remove-hook 'org-cycle-hook #'org-cycle-show-empty-lines) #+end_src 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