From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GCvPM48QTmXleQEAG6o9tA:P1 (envelope-from ) for ; Fri, 10 Nov 2023 12:14:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GCvPM48QTmXleQEAG6o9tA (envelope-from ) for ; Fri, 10 Nov 2023 12:14:23 +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 816795D7B7 for ; Fri, 10 Nov 2023 12:14:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=flb5Ea2v; 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=1699614863; a=rsa-sha256; cv=none; b=Y3A6JfoNYF+is6voVX8miyEi2O1OoMBN3C1UBNBvHCnqBZbtxMcx8xlOMnN+mM4SVh5o/Y TR2YvSpTWeCAGTfz1ELodwlyqPQwdkwgq7yiiF0kd4tWr31u+ChF8YXzXHBPFjjLW51HfN Yb6iwQfIkdx+Xw6TwHhK5s5M97wmZ6P/ckE4YT2AICz4IWTmjqj+fvyiOuNw7dQTv16JWZ FEzhbk95dJuri7I2nXe84W/24F7wfmnL1G8BEaGDo24AeS24AarB2OuLhgRC8mFm0T32V8 9fXvvdhuM5B6u1Z6n/nIpLHCys67mMhIV/rKly8wGkQhyEcPtlzwzqIlbBxZKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699614863; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=h4epkHBsZGPWlZMq9w34Sr6t7Q7GQKfcc3ul33cq0fI=; b=d7WdHruQNYaROjzAuFcCXvUDxumx0Qv/RS4ahdpsQ6OKra7PFez8gx8f2WAxjdlCsR+It+ Z6P3N16TupWZ3oSPHGUBpHne6QuI7xtRYd9gxk287lf4rYBlMwpWbCRwTOeVz7Pz0oAXLw l1TCQL38lg4xiwosN7h3+/YNBVz9KrSsJrhWrPIN4Es/lB3ETL3Wm9qmmkWeS4vkWwWb4R dQQf0pp+KxAFDuEUMu0WW22A42AXtpB9/ufJlFPSBNwgRp5Cozh97r8S7ZDuBH/R7ztt4c YjZio1Gf3M+7REsSg9uIQKy5/RmK45OmMUg9WpMzvYelykzIkfKbZmELsM0KZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=flb5Ea2v; 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 1r1PSJ-0003Zt-HV; Fri, 10 Nov 2023 06:13:43 -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 1r1PSI-0003Zl-LA for emacs-orgmode@gnu.org; Fri, 10 Nov 2023 06:13:42 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1PSF-0002pV-HK for emacs-orgmode@gnu.org; Fri, 10 Nov 2023 06:13:42 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id E5D3CE0007; Fri, 10 Nov 2023 11:13:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1699614816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h4epkHBsZGPWlZMq9w34Sr6t7Q7GQKfcc3ul33cq0fI=; b=flb5Ea2vpk4sCgI+/2aA/Tk1xtsIp8/irNTLm+2X1xHmhhRlLxCG02kwDTA1xHbpJBhxTp mSw57r+r7GrmXtMj9OVv7Zj/pafj5QkN1acHnyg2Rl3SdnqIS6nik1dg72DBN5OjJRG/Z4 JOIqB8S8ltDIojxA69fnvM4oOvjh2MiczapsHBjvqkO5l+18AWnxZwGta/g2KDEJzx8ynS ARoy0AO0JL5vdGglLcRId3bvWcphmvcXZUZOU7C2atTGgd9MP1slSyxPPi02rXKvoyr8tL jN9kUl72z/l92i1wTJf7tdjzqoGZ03qFUcBXe10Jt3sKtHakVGhwfQ5FR5hXlg== From: Fabio Natali To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Issue with org-persist and Tramp In-Reply-To: <87r0ky0xi5.fsf@localhost> References: <87jzqthdge.fsf@fabionatali.com> <87msvofvgx.fsf@localhost> <87a5roi1na.fsf@fabionatali.com> <87h6lw2kg9.fsf@localhost> <875y2chr1f.fsf@fabionatali.com> <8734xf2k9v.fsf@localhost> <87ttpvgjg5.fsf@fabionatali.com> <87r0ky0xi5.fsf@localhost> Date: Fri, 10 Nov 2023 11:13:35 +0000 Message-ID: <87h6lthnds.fsf@fabionatali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=217.70.183.196; envelope-from=me@fabionatali.com; helo=relay4-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_H3=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: -9.40 X-Migadu-Queue-Id: 816795D7B7 X-Migadu-Spam-Score: -9.40 X-TUID: nJ68bCPSADZM On 2023-11-10, 09:26 +0000, Ihor Radchenko wrote: > What about the attached patch? Hi Ihor, Brilliant. I think the second branch should read `(not (file-remote-p file))', i.e. `file' instead of `associated'? It seems to work with that micro amendment. Anything else I should be testing or does this look reasonable enough to be pushed to the repo at some point? Thank you very much for this! =F0=9F=99=8F=F0=9F=99=8F=F0=9F=99=8F Cheers, Fabio.