From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yLrtL9CpR2RhOgEASxT56A (envelope-from ) for ; Tue, 25 Apr 2023 12:22:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kJTnL9CpR2RbewAA9RJhRA (envelope-from ) for ; Tue, 25 Apr 2023 12:22:08 +0200 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 8B35E4261D for ; Tue, 25 Apr 2023 12:22:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PMt+tWro; 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=1682418128; 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=b6sjatCppO+1PrQYXd3qJBbOvxaeenKPhZK3hMTLMnE=; b=IQkd1hOfMyZTivK8GezvqCi02g2JYq8GiDlCQDVoba9zVXLBTGY+A6/ZYiAlIgGdNCJuqR wClIK6zTSFQAKPgyNEX9guZedCOQqrBKGkh7S74HW3Th3bMQVVPsVW0kN87Bm54/pEBDRJ ibIpRY16LytC1xLkNqMirVYtxKhal0KEU2RKCgbhkmLvXQ3AgTDt4yS9LiP/3wPtlwgFpm 4jd2+XU/OyKII2E2KAPI5CTYMvQjiilDXJnz3N/XwR77lEiqTJlRkG/WqTZltv+Kw5wrnK vzT7ui3YkQJKtl+WLq00i0TqBpXhNINQECm9eLscyimkIagxQ94WXHBYfUVtBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PMt+tWro; 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=1682418128; a=rsa-sha256; cv=none; b=ppdwb/ewEpFbctMKZELeKS20S02DKRpgA5R3iCD0vdT17Y+EpIBINw2WIXX3jE5LrkCc/k aO3JJkXLwbA6z0ZsfXH16lJUWwZ7TqylphJ/QCohfsqAvx5dPoMJne3L7u/oqNgL7va2xD 29AZJBsDn9CKo0uzmqaSFZJ/bFcP+JCel0frkXDffgk1VYZCL0t96fvdDb6qRn02I2KwLJ Nkuv4cCiI8I9Ie3GENgsLdvf4f+qwc1WkCNK+qYGCu1uQP/Afnb/kvKcAC6PPCleJoBMGk Fx9YSnspWCnb709rM66K6f0dwv2ZCRYcoSlRByPBZXt1LlT8yZPNWnBIqhQFUQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prFnd-0001B1-GN; Tue, 25 Apr 2023 06:21:29 -0400 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 1prFnb-0001Ao-W9 for emacs-orgmode@gnu.org; Tue, 25 Apr 2023 06:21:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prFnZ-0007Ha-TP for emacs-orgmode@gnu.org; Tue, 25 Apr 2023 06:21:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5866D240076 for ; Tue, 25 Apr 2023 12:21:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682418083; bh=DhrIOvSig7DaTRMUec1JLzkGvw4XUlv+/lmt9ioORgc=; h=From:To:Cc:Subject:Date:From; b=PMt+tWroppeqO+Cb1YoWRQM/bH2eU1youtUmg2RNyDoVDuRb5YV/9FFvJfyYOFijb XS2A9hy4P00EHHxE9ul92ngTfEa1zB31Kiy9aIahAxmM3Jk9ejzxydeIf6Jz8zsdx0 fpoLb/KyRB5ThN4z71CIpGIaODMDLM8syAvELT/EAlEBhlYTD/3SxJqshEL5mXb0SD lVKy1ExQVIyyKBpKxGMcrLeQFWNjUss8Hp59q1gQViokCZVF6Fwko64/ykdZtGvyRQ sFfbQ1XGub5bfd1zAdJ4HjwHw33sYmceQ2SziqtoZ8e0gXkCqQZCQEr39B+jUN1fQL f3Nxht2CHyw5Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q5J1t6mdqz6tyM; Tue, 25 Apr 2023 12:21:22 +0200 (CEST) From: Ihor Radchenko To: Gustavo Barros , Timothy Cc: org-mode list Subject: Re: How to disable org-persist in a given file? In-Reply-To: References: <87fs8quapc.fsf@localhost> <87fs8q4sbm.fsf@localhost> Date: Tue, 25 Apr 2023 10:24:14 +0000 Message-ID: <87sfcos1ip.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H2=-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: UNKNOWN X-Migadu-Spam-Score: -2.04 X-Spam-Score: -2.04 X-Migadu-Queue-Id: 8B35E4261D X-Migadu-Scanner: in3.migadu.com X-TUID: ei2jE5Q8zcvk Gustavo Barros writes: >> We cannot just disable persistence completely. >> For example, remote image export relies on persistence to be working >> _during_ Emacs session. > > I don't understand that. Isn't persistence about keeping data across > Emacs sessions? Not only. We also use org-persist to cache downloaded images from internet and, in future, to cache image previews (currently, they just sit in `org-preview-latex-image-directory'). These scenarios make use of org-persist during a single Emacs session, not just across several sessions. Even if we allow completely disabling persistence for certain files, previews, and internet downloads should happen _somewhere_ in file system and might inevitably cause leakage. But what is the way around? CCing Timothy as he might have further thoughts. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at