[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-persist - not wanted.

From: Ihor Radchenko
Subject: Re: org-persist - not wanted.
Date: Wed, 20 Dec 2023 18:08:31 +0000

Colin Baxter <m43cap@yandex.com> writes:

> I find a file called "gc-lock.eld" has been deposited un-requested and
> un-wanted in ~/.emacs.d/org-persist.
> I had thought I had disabled org-persist with the following
> --8<---------------cut here---------------start------------->8---
> (setq org-persist-disable-when-emacs-Q t)
> (defun me/advice--org-persist (old-fn &rest args)
>  (let (user-init-file)
>   (apply old-fn args)))
> (advice-add 'org-persist-write :around #'me/advice--org-persist)
> (advice-add 'org-persist-read :around #'me/advice--org-persist)
> (advice-add 'org-persist-gc :around #'me/advice--org-persist)
> --8<---------------cut here---------------end--------------->8---
> This had worked fine until today. How do I now stop org-persist
> depositing this - and maybe other -files. I do not want them.

Please note that disabling org-persist is not officially supported and
can be broken any moment. Like it appeared to happen for you after

In future, I may implement some options to, say, set org-persist save
the data alongside with .org file. For now, it is a centralized place.

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>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]