From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IGvCDPxCSmVQXQAAauVa8A:P1 (envelope-from ) for ; Tue, 07 Nov 2023 15:00:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IGvCDPxCSmVQXQAAauVa8A (envelope-from ) for ; Tue, 07 Nov 2023 15:00:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AEB6142626 for ; Tue, 7 Nov 2023 15:00:27 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=UBrzuqJd; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699365628; a=rsa-sha256; cv=none; b=XBVSyiBhfTm5pTNwkG8VrLhro+TXBsUZkyesxkx6fyfxa9VRuD1xwMOMAwGBVtl21cmzoI X6+Lob+8LvL29/wSPW4YiNmGzaOl7mSELHAKk0RD3OfgB2ltSHeB2Zl1n9Xx9IkzuznzoO W2qa9IM5QeE/wQ/t1zPQz7PVBNOPhVO6kCjNFwq/tbXVdQhS6p+P9Unx9DoDWtVG2UGx9e oyKdhJd3ogVB5GtHqs9Tlt2m51XcWgsvCQ/GKBFPsYdUwILT0nvn+zb30mCBgdVOnq48tC hAKEj43BAqYImYghQN9w53lvUl9L3HPpdyPRzsCr6UxuXJGOXNkhrw2Z1NthyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699365628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SDll6zHYcVegrl/EuqOtaLyxHirXkDbbL2hJdMdmUGg=; b=GdZQgQe6DlBDoAGZ49I4SxgNsM0JzFq5VQVMro4dB1DaRQZObqJFZsSl9wPXcpQkW9WGya LIAgF2NMgfip37OCANHBcS6oVFxKw9h1uIh6gUC9lg5ymBEhy6cAGYqkVLl1w2MC8ZlHpE e8AVZsXe76UOJ5VG+jkrDFp93eprG3pPWVuEtnZm/idQJeoPflw8Cz/f74BUAUXn+OKUUs iMLh6j8UPU2yh4ds0XBFzjfwflEiV8e0dATYDztKnTmL0BS1mp5L/jMPyf3fM7z5qtxdyU s4t5de7X7SLDfkyvYH3HLL2Tr8YAtqsZuzgoAtp+niXHc0fU/kLrywCAl/CWig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=UBrzuqJd; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0Mbn-00048P-Rh; Tue, 07 Nov 2023 08:59:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0Mbl-00048D-Rf for emacs-orgmode@gnu.org; Tue, 07 Nov 2023 08:59:09 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0Mbj-0001fI-Qc for emacs-orgmode@gnu.org; Tue, 07 Nov 2023 08:59:09 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id F402EFF81E for ; Tue, 7 Nov 2023 13:59:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1699365544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=SDll6zHYcVegrl/EuqOtaLyxHirXkDbbL2hJdMdmUGg=; b=UBrzuqJdpArj2dodqXocp2B+sVo9aeumvxn39ew9VOLPDyYGNMmmj8OGtBj4HgVny/OaGE X//QowSEGVdYQZyw2s9DL27tfXpFOK41+BGJxPWBJJwtopv5EsjZ0C0enYKfXkojOOLH6z VPLImu2vhdn9NC3p+IPHk53SPn2IPHkrrEkbwO7lsu9XcYC5NhwnM+gCiWX9eqHiOZlK// ziOFyK7PyCbCxa+4pVPHmCFZ6vP0oV7wemxF4OErDoIFle3VLbyBdGx8/TJkb6+n7MBlGD 8fhgYGkXpSfGS1O4Mi4bs4pcLv2ZJZxeJH3A0yuwC73ww/UPfOh6QOh62dH7Wg== From: Fabio Natali To: emacs-orgmode@gnu.org Subject: Issue with org-persist and Tramp Date: Tue, 07 Nov 2023 13:58:57 +0000 Message-ID: <87jzqthdge.fsf@fabionatali.com> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=217.70.183.199; envelope-from=me@fabionatali.com; helo=relay9-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.45 X-Migadu-Queue-Id: AEB6142626 X-Migadu-Spam-Score: -5.45 X-TUID: k68DYAFAGGqC 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.