From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UGtiAHVXS2W5swAAG6o9tA:P1 (envelope-from ) for ; Wed, 08 Nov 2023 10:40:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UGtiAHVXS2W5swAAG6o9tA (envelope-from ) for ; Wed, 08 Nov 2023 10:40:05 +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 B33F124082 for ; Wed, 8 Nov 2023 10:40:04 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=k4Kw6P1g; dmarc=pass (policy=none) header.from=posteo.net; 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=1699436404; a=rsa-sha256; cv=none; b=VS2XC1RoAG5X4+UfHGGe1YsQsxidH6jw37PWvp6Od4gp5QLb0Blj7T/1SgKI91UNn9fi5z +cY146hyXf/TK7uRSqkGQrH0DKjkZEsFAFfIhHUTlYggwRruftYyoDwX+XT8bzyimt1d3l ZaRBGMjnZD0eAOM6XHnCuq6Wvdo25z7EwsPCSyiTX39bRfYfMHZhMGkMF7VBP6g97ZV/kd CwDMdWz340SNOuNUk1hrqy2ZWrL1NWgKgibaRiankzzBSmL+OEmxITZdgawCewtbb2qdib dOmbbmzW4KD623QDi9gSrtDSBKZvQ0vkRQtNMXe0ETUql+lGyU6wgRMxPyimfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=k4Kw6P1g; dmarc=pass (policy=none) header.from=posteo.net; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699436404; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fFlJfhfYsMRNbPy/fJkXirSljWXklW8lhi0l5cY0KIc=; b=GVHYHAigOtfqyqkbyak3F3ReMcwU+WkcDYnpL2AWFnl9Uy2lqrzYYv0H13eNN1iq9MuNxd M6S6L7SchwE6PC5YbKHUBn1VF79v83UQX5D3GRJgTwuQRisE0fqTWY4tqYsg+KnjAQx7JV OxjYakFnQ23sta2XjADdCGgkgCH5babnP3u6FXoC4KO/Q6gUMU6fRyP6wxDIStDZ0RdRDS CibP5yR9tewcvqgfoIBmv2vtx5h207ir0NjFeUC+28em3qab0uRB61zzEwv3pYXOOuCJxV /SBj91+nsfpn3z1JfTQYRbVyU3fRiS6aYPfwNecaswzdebzQbuWTUqnpWtroew== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0emK-0007c1-PK; Wed, 08 Nov 2023 04:23:16 -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 1r0emI-0007aS-V8 for emacs-orgmode@gnu.org; Wed, 08 Nov 2023 04:23:14 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0emF-0005F1-Sn for emacs-orgmode@gnu.org; Wed, 08 Nov 2023 04:23:14 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 14350240101 for ; Wed, 8 Nov 2023 10:23:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699435383; bh=6NKdl+Lj05JJqL+tGGQDW7wtmbJE9ZiI6X+5FP3rZX4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=k4Kw6P1gM9lXK1tnbuTP63wsBXy0iCwuxgD7kGdKY5iUKlAkr9Qto9P0Xgy0+j9k4 Qgw12LroRXbwyA8sHsjqbKyCyD4tr+jyQZziTe6nVoTjqyGrIW4LeF76YIyZH+eJRi NCu0d2oJpethUzO5npHiq5WGJDFQt1InWA/JPWB1uw0yByUOQbvL/lFs8kwuw8EwNy Za58b2aL1JAnZ0Yi1s4ax5ido06i680RgkPI8gSajOmVtPY/C4t0fblURRu2EsatTS 7+K84oxILrNNxPAxf3UzOq6MSBEPEliw1NWhs1gpRVU8DhCSp062pmyCsgK5xBoThv 0gKah18SXD4hA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SQKPd5wnGz9rxP; Wed, 8 Nov 2023 10:23:01 +0100 (CET) From: Ihor Radchenko To: Fabio Natali Cc: emacs-orgmode@gnu.org Subject: Re: Issue with org-persist and Tramp In-Reply-To: <87jzqthdge.fsf@fabionatali.com> References: <87jzqthdge.fsf@fabionatali.com> Date: Wed, 08 Nov 2023 09:25:02 +0000 Message-ID: <87msvofvgx.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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-Queue-Id: B33F124082 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.19 X-Spam-Score: -9.19 X-TUID: +TnOeJpDCapQ Fabio Natali writes: > 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 After that thread, Org should not (by default) examine remote files. > - 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. May you please share the backtrace? In particular, may you (1) M-x toggle-debug-on-quit (2) try to close the problematic file; observe Emacs "freeze" (3) C-g and post the obtained backtrace. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at