From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eC+8BWXXcmYjDgEA62LTzQ:P1 (envelope-from ) for ; Wed, 19 Jun 2024 13:04:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eC+8BWXXcmYjDgEA62LTzQ (envelope-from ) for ; Wed, 19 Jun 2024 15:04:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=BOrIS7el; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718802276; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jma9dheb13cl1Cx/G+MmZ2DhVWYfVmroHU2onghKmqw=; b=uR8JWRodyPVgnLMBu/56kDQmO6KduhOkfUkUftbzFzCmo/zmm3qN/YHE9yfQrO/K/f5QjM qrfp0epj/nwKAHPWICJuDi4mr1FbnvAh643XAUmzpiDZvAzkj+o7W+RVdSyuBSR8UEHL96 U+zyVpdWSaTg71OkYqnJfN86SzEnoR4HdJBsvl/tNCgBh7vr7E1uc19Q39xi7CDwwAexUd 31FmBV8xZQldu9WNsbPHe9pjtmBiMP4oZJFBDzXbH0D/TIWdq+ewjSC1PAGVjHMk/JQmkc cc0E1Oa6c5ft+FZI2WdF7+6xhHD6V0g6HXJ6EF4inlaJorbKykXk1J8wSW5Bng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=BOrIS7el; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718802276; a=rsa-sha256; cv=none; b=cQ5KS1rW/Sf5SRLYl/DYNPChkqZ4znIMzR5jdqV4lIwbE8mmgFccMR9WNbG2fXeJjKEn68 Uh8+XYvQTXnVQ7nNB6Tto1ib3cA8n6WF0AcD0kZFiofRIyYSzgMzaFsImRl/6hUFQCTLTr j7P2SLqYd9objV//ShBVBXNOf8V5cWrEyB4WJGU64mYYRw7xqPk4RTq6sZnzrewAtqhT0B laDTs3e11/e7CgKr7rfRV02HXph7AZWOpzQFg4P4JQw72r4AY3JlzTbLJegFnaiBpuAvGG /5rZN+dp4ZuFgkqZYQBRfNQVFEPwwH2axJwJ4K/IH/K00LTBeFzhPcgHdG+rOw== 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 B21CB5554E for ; Wed, 19 Jun 2024 15:04:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJuz7-0002tV-J9; Wed, 19 Jun 2024 09:04:21 -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 1sJuz3-0002pB-E3 for emacs-orgmode@gnu.org; Wed, 19 Jun 2024 09:04:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJuz2-0002iJ-Cr; Wed, 19 Jun 2024 09:04:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jma9dheb13cl1Cx/G+MmZ2DhVWYfVmroHU2onghKmqw=; b=BOrIS7el4O8A gPLpCJJi34m/Uw7ratHlSStEEY9tluuCebGAiFTlSrzwxbrbR7tHhEVrEFFUj+Rf1ZkZFw730WXxp VgeehE92wgooAH3lRVIdoLdxWg9IKPPzuahUygQl91PnJ5WTvpA/dlk3t8WRCTeTFGRNUWZCXgRaD N3JW7F64V5kPI8vcvmrLH70pFPD5g86QIEGT7gUEaaEZB/zrJJcumBERVl5OTBQdukM2rlkGUCW0b TvaCnWiM4CXOBZG9Je32rGvVNB3CwfFEZVvixSToyoByDBl8xErf0PvVbuIrTmEVwGzNAhSlVPnfW 5XJx8BSAxjbsOaimjh9gww==; Date: Wed, 19 Jun 2024 16:04:12 +0300 Message-Id: <86cyodozhv.fsf@gnu.org> From: Eli Zaretskii To: Ihor Radchenko Cc: m43cap@yandex.com, n142857@gmail.com, emacs-orgmode@gnu.org In-Reply-To: <878qz1qkxw.fsf@localhost> (message from Ihor Radchenko on Wed, 19 Jun 2024 10:35:39 +0000) Subject: Re: Please document the caching and its user options References: <86ed921oxu.fsf@gnu.org> <874j9vllbp.fsf@localhost> <87o781t676.fsf@localhost> <874j9qs0wh.fsf@localhost> <86zfrip6qt.fsf@gnu.org> <87v826qkux.fsf@localhost> <86wmmmp5wc.fsf@gnu.org> <87sexaqjgd.fsf@localhost> <87a5jh9t9o.fsf@yandex.com> <878qz1qkxw.fsf@localhost> 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 X-Migadu-Queue-Id: B21CB5554E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -11.11 X-Spam-Score: -11.11 X-TUID: i+Y50CaVX+MM > From: Ihor Radchenko > Cc: Eli Zaretskii , n142857@gmail.com, emacs-orgmode@gnu.org > Date: Wed, 19 Jun 2024 10:35:39 +0000 > > If you do not use latex-preview or other features that cache their > results, org-persist should not create any files or directories. > (It currently does create gc-lock.eld, but I will fix this) > > However, if you do use it, Org mode has no option to disable creating > cache. In fact, Org mode never had such an option. For example, > `org-preview-latex-image-directory' is a part of Org mode since at least > Org 9.0, and it was never an option to disable it. org-persist did not > introduce anything drastically new in this regard. > > So, this discussion and people insisting on completely disabling the > cache is a bit strange to me. I suspect that the problem may be not the > cache itself, but either (1) that it is created when cache features are > not really used; (2) that it is created in .emacs.d for some users. Let me clarify. In the scenario in which I found out about Org caching, I didn't use latex-preview, not at all. All I did was visit the org.org file that we have now on the master branch, and look around for a while (specifically, I looked for the constructs that produce the Texinfo @dircategory and @direntry directives). Perhaps the caching I saw was a different kind of caching, I don't know (hence the request to document that, and if there's more than one kind of caching, I hope they will all be documented), but evidently the caching by Org happens (by default!) even if the user doesn't come anywhere near latex-preview.