From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ABDqHqM2RGTpAQAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 21:33:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kFseHqM2RGTdfQEAG6o9tA (envelope-from ) for ; Sat, 22 Apr 2023 21:33:55 +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 48A6A2D8FC for ; Sat, 22 Apr 2023 21:33:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqIyZ-0007SH-Q6; Sat, 22 Apr 2023 15:32:51 -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 1pqIyY-0007S9-El for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 15:32:50 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqIyW-0005hS-W0 for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 15:32:50 -0400 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-524b02cc166so1779677a12.0 for ; Sat, 22 Apr 2023 12:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682191967; x=1684783967; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=h8/boKLwp9vW1exjt45BD0du435YRpIP80U/IEaiOA4=; b=KWA6iyq9gaAR6qiSN6YjH0YDLHqVNmnOpfmkbZrhlEj+i0NP862G1PMKS2WNoHNnoY MnaqOSLGqVYQhYoWqEvfhFP7xYG7JYeczvBDDLBk8/4I15Uwm0yvx96qTZUhrW3mFWEA T+KyxV3UlBpx2/PjEdBP86ai9V4jOyFMqTLEnKi/FiLyFg8hNi4LXGFddK2OEvTyNLA7 ACUz4NRhCSKxjQoLkudW3HSZeke3g2MRCYSIR/Tggzflyz6Y6BnydiIXzLtxT40hjhG8 QcQWP67wB1/e8vpWYKGDPb4feK+jpt2b/4WCTi0ggv4N9oIIFNO9pQcewucvLvPXv0ye AWnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682191967; x=1684783967; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=h8/boKLwp9vW1exjt45BD0du435YRpIP80U/IEaiOA4=; b=Qj97gRRGVWlBaw+9jcCZJFib2t+2bHr/Rl3CaCckFIyExaapJT4Gb2tzcuIRjfSi8c reXP2BxDVi6Gtqsq5M/qE7gsKZ/cOf7slrP45kdS4fn7t0WjtzfiiSYA77UvO0l+eLBx RL4ZM6UDAsp26YRJUjOrkhIVmTFg54WK7WgMpHlsCmk0Z0zw/lfx4U0BsOi9QDgQR7Yr dKFUwNHtY+O74JW0va8CIDwC2CoId63VaYecNYqWXRq/+uL8L/c2H9kJsGKTX/iSs5D1 g92mBY/K/51VyAUqU/S6smqqsAo2toulegJ4YSV1C0CC5k1T6Mi38v969QhZ2UnDnrTx 3Iog== X-Gm-Message-State: AAQBX9fAbZTsckQYhBcki6FCsNqR4p6F4DLno/QB9hqf65+iFswhztro xkKi8+EvO2dDiUVIEc/oy3Cc9rYZcZVLAdF6bOhSwD7i1m9lhg== X-Google-Smtp-Source: AKy350aidFsDDyk7XuD5WQ5Rq74WkKJ8qMAVueRH+8szr+PaKaESjAUQzljm57A9gEUTQsh9I7W+23VUKJJnL19pSdg= X-Received: by 2002:a17:90a:6a87:b0:23d:286:47d3 with SMTP id u7-20020a17090a6a8700b0023d028647d3mr8708507pjj.40.1682191966703; Sat, 22 Apr 2023 12:32:46 -0700 (PDT) MIME-Version: 1.0 From: Gustavo Barros Date: Sat, 22 Apr 2023 16:32:35 -0300 Message-ID: Subject: How to disable org-persist in a given file? To: org-mode list Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=gtvbrs@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682192035; a=rsa-sha256; cv=none; b=CILKoFGMDiHsYlSPNb8tgv3ztFz8Nwwv6ZLnu3kny5jRFqxbmwcYU4Sk0pEA8YURbMkx6D gbq8TlmCN+zBkWBwP1VKExk+NW53UanrTrLPxJ7vNzsX5F/7rjlcwmc1Axz/SQWOD14ygS boRdi6XVsSw7aPKsGB1xsHxRilOTkUDWIE27FqS20HsArqOV5YEj1rNlu99ZOYUXAT/9Nl LB+v0F6MopJXDOCA1iEv3ltGPaVjWFIb8jbzDM9C3yjhJl/Ac3Zz4rRA1XD/CSJtq0ZL4r q/eDrv7KVUCtnayqCPGH+CpVyI3IfvWR7jDiQC8shE8POp1t3L8FCUOTKDuE+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=KWA6iyq9; dmarc=pass (policy=none) header.from=gmail.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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682192035; 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=h8/boKLwp9vW1exjt45BD0du435YRpIP80U/IEaiOA4=; b=Jf5/568kWRUi5hMhXjmslvQRHsK31+PPS0UkbMVR1enqrL6GkAPmI4gVwnqEKNJSwjDEO2 s4m4NX8jZRfxQtWTsGUNVaBvjtII8nqpmnrm6Ln3TX8sUKg3huofo1n34ZsdNgm/9URaUW 3sjr6c/1l5oDAt+QFAr8kCcLfhMd7IVYJALb4l7h9G6F4lfoz1FjYa2k0VU1XUNCgnEZqm GTAh2jTBJ4pZOsQOpMpafrn5I9IfeHy5pDw8pwLaUsCODGkE2R1L4Vt5Qgu+3W/cFnFfJT dsDXn7Sz/iO+D8JHLvU1vVi8BEPKv9kIcjBpjoqgSD4dPCyBafp625kdnXhb9Q== X-Migadu-Spam-Score: -2.34 X-Spam-Score: -2.34 X-Migadu-Queue-Id: 48A6A2D8FC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=KWA6iyq9; dmarc=pass (policy=none) header.from=gmail.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" X-TUID: fwdWzWFQkjak Hi All, this is more of a question really. I moved recently to the new pretest version of Emacs and thus got the 9.6 version of Org. And after that I started to notice some saving by `org-persist' going on, and indeed I have a new associated "~/.cache/org-persist/" directory. However, I do have some Org files which contain sensitive data. I'd like to be able to disable persistence in those files. Now, some of them are ".org.gpg" files, and I've seen the sources of `org-persist' and noticed persistence is inhibited for them. But I also do have some encrypted loop devices which, once opened, have a "plain" .org file there. I've greped the sources, and I see that `org-element' is making use of `org-persist'. I've also seen the release notes, and that `org-element' makes available `org-element-cache-persistent'. However, taking a look at `org-persist's API, I couldn't find any obvious handle to disable persistence there. Everything I've seen presumes I have knowledge of registered "containers", which I don't. Is currently `org-element' the only part of Org using persistence by default? Is there some way to inhibit `org-persist' altogether in a given file? (As opposed to just inhibiting `org-element' use of it with `org-element-cache-persistent'). Best regards, Gustavo.