emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Issue with org-persist and Tramp
@ 2023-11-07 13:58 Fabio Natali
  2023-11-07 21:08 ` Antonio Carlos Padoan Junior
  2023-11-08  9:25 ` Ihor Radchenko
  0 siblings, 2 replies; 15+ messages in thread
From: Fabio Natali @ 2023-11-07 13:58 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I seem to be having an issue with org-persist and Tramp which is close
to what discussed in this thread:

https://lists.gnu.org/archive/html//emacs-orgmode/2022-05/msg00720.html

- I open a Org file on a remote machine, via Tramp.
- The SSH connection dies.
- I try to kill the stale buffer with kill-buffer and from IBuffer.
- The buffer is not killed, instead Emacs hangs for a while while still
  trying to connect to the old SSH connection.
- The buffer becomes sentient and gains immortality... either that or I
  restart Emacs, which is clearly a big no-no. :D

Looking at the backtrace, it looks like the kill operation insists on
calling org-persist-write-all-buffer, which in turn seems to be calling
Tramp and therefore SSH to the now unreachable machine.

More context:

- The SSH process is now gone, no trace of its original process.
- I've tried all combinations of tramp-cleanup-* commands, with no luck.
- I'm on Emacs 29.1 and Org 9.6.9.
- The default value of org-persist-remote-files seems to be 100.

Is there any org-persist-related setting that I should include in my
init.el? Anything that I might be missing here?

Thanks for your help, cheers, Fabio.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-11-11 19:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-07 13:58 Issue with org-persist and Tramp Fabio Natali
2023-11-07 21:08 ` Antonio Carlos Padoan Junior
2023-11-08  8:56   ` Fabio Natali
2023-11-08  9:25 ` Ihor Radchenko
2023-11-08 17:40   ` Fabio Natali
2023-11-08 18:01     ` Ihor Radchenko
2023-11-08 21:30       ` Fabio Natali
2023-11-09 12:17         ` Ihor Radchenko
2023-11-09 13:11           ` Fabio Natali
2023-11-10  9:26             ` Ihor Radchenko
2023-11-10 11:13               ` Fabio Natali
2023-11-10 11:26                 ` Fabio Natali
2023-11-11  9:48                   ` Fabio Natali
2023-11-11 11:06                     ` Ihor Radchenko
2023-11-11 19:38                       ` Fabio Natali

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).