Tom Gillespie <tgb...@gmail.com> 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 files > - never persist remote files > - +only gc remote files when their cache is expired+
This should not happen. See the default value of org-persist-remote-files. Can you confirm that you are using the latest version of Org? Best, Ihor