emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BUG: org-cycle does not unfold some subtrees


From: Michael Dauer
Subject: BUG: org-cycle does not unfold some subtrees
Date: Fri, 5 May 2023 19:35:19 +0200

Maybe I missed a known bug when doing the research. But all the other reports describe different and reproducible behaviour.

Sometimes (often) I cannot unfold a subtree. It then affects only one or more subtrees while others in the same buffer or even the same branch still work. The only fix then is to either cut and paste the affected branches, or to close and reopen the file.

While quite frequent I have not achieved to reproduce the issue. It just happens after a while of using multiple files navigating with search, tab from agenda, org-refile, and cycle.

Based on my analyses it's not the cycle functions, but must come from broken text attributes. Even (org-fold-core-region (point-min) (point-max) nil) does not unfold the affected subtrees then. Assuming that (org-fold-core-region) is the only place where the folding and hiding happens, I expect the problem there. But I understand too little about the emacs internals to debug this function.

I hope this helps to fix the issue.

Org mode version 9.7-pre (release_9.6.4-327-gf81ba4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]