prad <p...@towardsfreedom.com> writes: > Hi Ihor! Sorry for the confusion, but I don't really understand the > error myself. I just reported it because it tells me to do so. > > What happens is sometimes when I come out of suspend I see in a buffer > (not the messages one afaik), that it can't find the gc-lock.eld file > and after consulting with an aibot I deleted it: > > rm ~/.cache/org-persist/gc-lock.eld
That sounds similar to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75209 I believe that this particular issues should be fixed on development (main) branch. Could you test? > I don't know if this next problem is related and it is also a sporadic > issue. Right now if I have the following all folded: > > * h1... > * h2... > * h3... > * h4... > > I can't unfold h4. If I try to unfold h3, h4 gets unfolded but not h3. > > If they are already unfolded (ie with <backtab>), then I can't fold h4. > However, if I try folding h3, I can't but h4 gets folded (but under h3). > I same thing happens with h2, if I fold it every heading underneath > folds. H1 functions fine though. > > <backtab> (S-tab) always works fine even when tab doesn't. This might be related to the same issue you have with gc-lock.eld (race condition between multiple Emacs instances). To confirm (and maybe solve it for yourself), you can (1) add (setq org-element-cache-persistent nil) to your config; (2) close emacs; (3) clean your org-persist-directory -- Ihor Radchenko // yantar92, Org mode maintainer, 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>