[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to disable completely org-persist
From: |
Ihor Radchenko |
Subject: |
Re: How to disable completely org-persist |
Date: |
Thu, 15 Dec 2022 08:10:20 +0000 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Upon further investigation, it looks like we need Org persist all the
> time. As temporary storage, at least. In particular, downloading remote
> images requires org-persist to store files somewhere. All the times.
> ...
> So, we cannot disable org-persist and should not even do it with Emacs
> -Q. Instead, we may redirect org-persist-directory to /tmp in some
> scenarios. I will look into doing this soon.
I am going to do the following in order to reduce the issue with
littering `user-emacs-directory':
1. When there is no data stored by org-persist (e.g. when the user
disabled `org-element-cache-persistent' and never uses image
downloading), do not write anything and do not create the empty
index.
2. `org-persist-disable-when-emacs-Q' will redirect
`org-persist-directory' to a temporary directory.
(this is a bugfix)
3. Users who think that org-persist is still on the way may set
`org-persist-directory' explicitly to, say,
`temporary-file-directory'.
Let me know if there are any objections.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
Re: How to disable completely org-persist, Angelo Graziosi, 2022/12/04
- Re: How to disable completely org-persist, Angelo Graziosi, 2022/12/04
- Re: How to disable completely org-persist, Ihor Radchenko, 2022/12/04
- Re: How to disable completely org-persist, Angelo Graziosi, 2022/12/05
- Re: How to disable completely org-persist, Colin Baxter, 2022/12/05
- Re: How to disable completely org-persist, Angelo Graziosi, 2022/12/30
- Re: How to disable completely org-persist, tomas, 2022/12/30
- Re: How to disable completely org-persist, Ihor Radchenko, 2022/12/30
- Re: How to disable completely org-persist, tomas, 2022/12/30