From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cPB/CxWAUWRTCwEASxT56A (envelope-from ) for ; Tue, 02 May 2023 23:26:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KNKMChWAUWR3OgEAG6o9tA (envelope-from ) for ; Tue, 02 May 2023 23:26:45 +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 883B43A22F for ; Tue, 2 May 2023 23:26:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptxVd-0003ZI-GJ; Tue, 02 May 2023 17:26:05 -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 1ptxVb-0003XD-B8 for emacs-orgmode@gnu.org; Tue, 02 May 2023 17:26:03 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptxVZ-0002Zm-Ge for emacs-orgmode@gnu.org; Tue, 02 May 2023 17:26:03 -0400 Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-24b725d6898so2896148a91.2 for ; Tue, 02 May 2023 14:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683062760; x=1685654760; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5euQi+VeNWJnUaK4brprzR2wR8tP4IAumpbPW0CYHv8=; b=JrWJNfZVfGK5XZpXMdiNQWUleYBb3iEavfyB2hu7GKkLHcs2HQXXC6StHZa9frAx8C jhD1EccAc8oNAxfaohhH8FafOhsQZhYunDb9yKLIkbZD22mRCf1mqtNbSx61A48kfFZG s8c2qbQA2JokXuECdzSNF4/VVczbIYhyUpFh+VOTNaydnEkpFfvoG66ZWEe8vn6p816L tMuhzLg6wtTuQOHp2mdAV1SSN1Wko6GliDKSb3+OUIHUr5+s3H7oCxY+W2Dc66B81Ppf GSYalX3pHvD2KfC55o2hjILyJy5Z5AUPRsekmZ9pYOdT6l6Xm5r6UCFgRRWrbcNS0tjI PnUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683062760; x=1685654760; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5euQi+VeNWJnUaK4brprzR2wR8tP4IAumpbPW0CYHv8=; b=jf09ya92TNURDssW5kgLYeMP4XBh+GFgoNayfX++l6rpRob3ZkVxjegrcZkHryjF16 9uucNt3sSexP/CoW2avUo8JMWBbZ7ve4jOy20zGxKmxmHpfUUSiXqSB9JIo+jrpM59BK A85cCzK3Fl8VEa98dwpI8ThDbJn4DbIAhNDcWWuFYi3xJnnerrUJUsIqtxK+itPzhi2B 3ekXpiw7eJqOf6rF+dbbHhqEn5AaOEYcr9uJukXcKn+0Q3QqMMUXBAxZXj/lS0kVEYgX Zp7zsriWejinHh73YG6ECabEYUg57yaN16Ef4JmfKfyyAawdC0kYO8X+mrpZU/+kgEHN j3KQ== X-Gm-Message-State: AC+VfDyWuKJbosgI1wArnkwe+Rr7dkcYe5ZTF1oxTVy/03f80STZWrS/ pbVP7wJgtUnt6r43J96WkNmNAho4zmTjzzVUhsA= X-Google-Smtp-Source: ACHHUZ5h9kvqI532uRMGoFrdtqBKMcuK5wvqXj2MHKDWMIzdbyVIiQ/fzP00msGuhJWHGT4EGwuY55FiWB/NnFns3GA= X-Received: by 2002:a17:90a:5511:b0:24e:165d:8f65 with SMTP id b17-20020a17090a551100b0024e165d8f65mr5525973pji.5.1683062759800; Tue, 02 May 2023 14:25:59 -0700 (PDT) MIME-Version: 1.0 References: <87fs8quapc.fsf@localhost> <87fs8q4sbm.fsf@localhost> <87sfcos1ip.fsf@localhost> <87zg6mqwn8.fsf@localhost> In-Reply-To: <87zg6mqwn8.fsf@localhost> From: Gustavo Barros Date: Tue, 2 May 2023 18:25:48 -0300 Message-ID: Subject: Re: How to disable org-persist in a given file? To: Ihor Radchenko Cc: Timothy , org-mode list Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=gtvbrs@gmail.com; helo=mail-pj1-x1031.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.266, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683062804; a=rsa-sha256; cv=none; b=FeGQ7fphUVGJ/zInUI8rBHk4eZ2y6noFjMsP3DHXvj3U3oVSF1xRfugBSb8Gv/v7dNtxTH rFeApCS6iz/LzvZIN/QbYUDrjm9QGUYbYg4ofuRQ0ClEnGuKgW3pNcPX+tmaAfQMlopJmF ksgaouKRVwiwvi5CBr6Rv+R4tperl+1R9cd3VkmbVAhQj/Y7UdIpcORmDPT+U5WefWLgic 00sETSMYqr04GToshIEDYG/9KQinXpQLhQF9cqUQu2Sj1XviLFSYhX4aHYbA8iChI8uxpF XWI9187B1cpaek81x0CP06O8d7FIfAiKYG7HgWIU0w4GvnLgWBJBOzH7ekvlTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=JrWJNfZV; 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=1683062804; 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=5euQi+VeNWJnUaK4brprzR2wR8tP4IAumpbPW0CYHv8=; b=DPQWwEAsDJuJVlp0BSRe1lOdkmJkHlBKwpOXu+vwJ7oZA1W4nSkuQlcX6GtpHtbl8Xsmi8 Txe7g+LA/GvDRB03hT2ESQFI6Y2NzcYbXDaWhlXHNEgV/+PS+XIjpwnYYZEwMf6nKD2EZ8 eX0U1C602YFePf+fiB3uct7o8fSmCGS5Ed4SQA8TqjsmO+7RtnipMUOBNRI9bWdTU8A8nm 4/TzKG0k46rFsQ1iLFsrThFeGj+tXBgBZvTpQNdJepLAqRbtSNxOBDqhTlWINMQQAF5U9t yyDb0AWOJbCZIIe1LWrHJIeoSSiT1dA4wsFwGyf5PK6Gkq0bztn+se74rcMxBg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=JrWJNfZV; 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-Migadu-Spam-Score: -5.41 X-Spam-Score: -5.41 X-Migadu-Queue-Id: 883B43A22F X-TUID: BfpWrLjtwlE8 On Tue, 2 May 2023 at 17:54, Ihor Radchenko wrote: > I think `recentf-save-file' for example is no different. And > org-id-locations-file. And custom-file, if you happen to save safe > buffer-local variables by answering "!" in Emacs prompt. And many many > other places. Those two are easy to avoid, if one wishes. But granted, there are plenty of places, some keeping file names, some worse. Still, this is arguably something to avoid. > I do not think that file name, even from encrypted volume, is something > we need to worry about. Granted too. What I'm worried about is being able to disable the feature. Besides, why store it in the index if the persist file does not exist? > I even suspect that, for example, browser cache often contains all kinds > of secrets, like files associated with web pages were you logged in. And > they can be read by anyone familiar with the layout! (like > https://www.nirsoft.net/utils/chrome_cache_view.html) I really hope that's not Org's benchmark. ;-) > That said, do not worry about this issue being forgotten. But it is not > easy to design cleanly. I am thinking about it. > Of course, if you have good ideas or patches, they are welcome. Thank you! Best, Gustavo.