> From: Ihor Radchenko <yanta...@posteo.net> > Cc: Eli Zaretskii <e...@gnu.org>, n142...@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.