Re: org-persist-gc and tramp

2022-05-27 Thread Tom Gillespie
> Off topic: Did you report the issue to evil devs? Not yet. Needed to understand what is going on. > alternative workaround could be setting org-fold-core-style to > 'overlays. Yes! This fixes the issue, and is consistent with my observations in the other thread (I will respond with more there)

Re: org-persist-gc and tramp

2022-05-27 Thread Ihor Radchenko
Tom Gillespie writes: > I was running a version from back in december due to the evil > search issues I was having. Off topic: Did you report the issue to evil devs? Note that an alternative workaround could be setting org-fold-core-style to 'overlays. Best, Ihor

Re: org-persist-gc and tramp

2022-05-27 Thread Tom Gillespie
> Can you confirm that you are using the latest version of Org? I was running a version from back in december due to the evil search issues I was having. Updating to the latest version resolves indeed resolves the org-persist issue. Thanks! Tom

Re: org-persist-gc and tramp

2022-05-27 Thread Ihor Radchenko
Tom Gillespie writes: > While debugging an unrelated issue I noticed that > tramp was initiating a new connection every time > save-buffers-kill-emacs ran. I eventually tracked it > down to org-persist-gc running on kill-emacs-hook. > ... > I see a couple potential fixes. > - skip gc for remote f

org-persist-gc and tramp

2022-05-27 Thread Tom Gillespie
While debugging an unrelated issue I noticed that tramp was initiating a new connection every time save-buffers-kill-emacs ran. I eventually tracked it down to org-persist-gc running on kill-emacs-hook. It turns out that org-persist--index held a record for a remote file, and the transparency of t