Re: How to disable completely org-persist

2023-01-01 Thread Jean Louis
* to...@tuxteam.de [2022-12-31 10:12]: > Perhaps it would make sense to state the goals in more > detail. I can see many "aspects": > > - "I don't want my ~/.emacs.d/ littered beyond my explicit >control" Isn't that happening anyway by various packages and functions? I see there

Re: How to disable completely org-persist

2022-12-31 Thread Angelo Graziosi
> Il 30/12/2022 18:42 Colin Baxter ha scritto: > > > > Angelo Graziosi writes: > > > tomas wrote: > >> there is now a defvar `org-element-cache-persistent' > > > Ah! didn't knew that.. > > > Setting > > > (setq org-element-cache-persistent nil) > > > seems to

Re: How to disable completely org-persist

2022-12-30 Thread tomas
On Sat, Dec 31, 2022 at 02:29:43AM +0100, Angelo Graziosi wrote: > > > Il 30/12/2022 18:42 Colin Baxter ha scritto: > > > > > > > Angelo Graziosi writes: > > > > > tomas wrote: > > >> there is now a defvar `org-element-cache-persistent' > > > > > Ah! didn't knew that.. > > >

Re: How to disable completely org-persist

2022-12-30 Thread Ihor Radchenko
Angelo Graziosi writes: >> Indeed, although I'm not yet convinced that org-persist directories wont >> eventually start showing up in /tmp! > > I fear that sooner or later it will reappear somewhere.. > > When it showed up few week ago, I found that setting and added it to the init > file but

Re: How to disable completely org-persist

2022-12-30 Thread Angelo Graziosi
> Il 30/12/2022 18:42 Colin Baxter ha scritto: > > > > Angelo Graziosi writes: > > > tomas wrote: > >> there is now a defvar `org-element-cache-persistent' > > > Ah! didn't knew that.. > > > Setting > > > (setq org-element-cache-persistent nil) > > > seems to

Re: How to disable completely org-persist

2022-12-30 Thread Colin Baxter
> Angelo Graziosi writes: > tomas wrote: >> there is now a defvar `org-element-cache-persistent' > Ah! didn't knew that.. > Setting > (setq org-element-cache-persistent nil) > seems to work.. Indeed, although I'm not yet convinced that org-persist directories

Re: How to disable completely org-persist

2022-12-30 Thread Ihor Radchenko
to...@tuxteam.de writes: >> The variable has been there since the beginning. > > But you made me aware of it, and thanks for it :) https://orgmode.org/Changes.html ;) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org

Re: How to disable completely org-persist

2022-12-30 Thread tomas
On Fri, Dec 30, 2022 at 01:35:39PM +, Ihor Radchenko wrote: > writes: > > > AFAIK there is now a defvar `org-element-cache-persistent'. Maybe it > > works for you? > > The variable has been there since the beginning. But you made me aware of it, and thanks for it :) > Now, org-persist is

Re: How to disable completely org-persist

2022-12-30 Thread Ihor Radchenko
writes: > AFAIK there is now a defvar `org-element-cache-persistent'. Maybe it > works for you? The variable has been there since the beginning. Now, org-persist is just more careful not to create the directory when nothing needs to be stored there. -- Ihor Radchenko // yantar92, Org mode

Re: How to disable completely org-persist

2022-12-30 Thread Angelo Graziosi
tomas wrote: > there is now a defvar `org-element-cache-persistent' Ah! didn't knew that.. Setting (setq org-element-cache-persistent nil) seems to work.. Thanks, Angelo.

Re: How to disable completely org-persist

2022-12-30 Thread tomas
On Fri, Dec 30, 2022 at 01:11:12PM +0100, Angelo Graziosi wrote: > > Il 05/12/2022 18:58 Colin Baxter ha scritto: > > > > > > > Angelo Graziosi writes: > > > > > Colin Baxter wrote: > > >> I too would like a means to disable org-persist. > > > > > On emacs-devel there was this

Re: How to disable completely org-persist

2022-12-30 Thread Angelo Graziosi
> Il 05/12/2022 18:58 Colin Baxter ha scritto: > > > > Angelo Graziosi writes: > > > Colin Baxter wrote: > >> I too would like a means to disable org-persist. > > > On emacs-devel there was this suggestion: > > >

Re: How to disable completely org-persist

2022-12-17 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko 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

Re: How to disable completely org-persist

2022-12-15 Thread Ihor Radchenko
Ihor Radchenko 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

Re: How to disable completely org-persist

2022-12-13 Thread Ihor Radchenko
Ihor Radchenko writes: > Colin Baxter writes: > >> I too would like a means to disable org-persist. I don't doubt it may be >> useful for those users with "large" org files with multiply src-blocks, >> etc., etc., but, for me, I have not found any improvement in >> performance. As remarked by

Re: How to disable completely org-persist

2022-12-05 Thread Colin Baxter
> Angelo Graziosi writes: > Colin Baxter wrote: >> I too would like a means to disable org-persist. > On emacs-devel there was this suggestion: > https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg00125.html It appears to work, after removing a couple of surplus

Re: How to disable completely org-persist

2022-12-05 Thread Angelo Graziosi
Colin Baxter wrote: > I too would like a means to disable org-persist. On emacs-devel there was this suggestion: https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg00125.html

Re: How to disable completely org-persist

2022-12-04 Thread Colin Baxter
> Ihor Radchenko writes: > Colin Baxter writes: >> I too would like a means to disable org-persist. I don't doubt it >> may be useful for those users with "large" org files with >> multiply src-blocks, etc., etc., but, for me, I have not found >> any improvement in

Re: How to disable completely org-persist

2022-12-04 Thread Ihor Radchenko
Angelo Graziosi writes: > Ihor Radchenko on emacs-orgmode wrote: > >> That being said, it should not be a big deal to allow disabling >> org-persist when desired. In fact, org-persist is already >> auto-disabled when using emacs -Q. I can add a user switch >> on top. > > I wonder what kind of

Re: How to disable completely org-persist

2022-12-04 Thread Angelo Graziosi
> Ihor Radchenko on emacs-orgmode wrote: > I can add a user switch > > on top. > Please, add an option to disable the caching (org-cache 0) which disables *all* other thing (org-persist and friends).. ...or disable *all* by default and the user that like that will set (org-cache 1) ..

Re: How to disable completely org-persist

2022-12-04 Thread Angelo Graziosi
Ihor Radchenko on emacs-orgmode wrote: > That being said, it should not be a big deal to allow disabling > org-persist when desired. In fact, org-persist is already > auto-disabled when using emacs -Q. I can add a user switch > on top. I wonder what kind of answer is this.. Also not using

Re: How to disable completely org-persist

2022-12-04 Thread Ihor Radchenko
Colin Baxter writes: > I too would like a means to disable org-persist. I don't doubt it may be > useful for those users with "large" org files with multiply src-blocks, > etc., etc., but, for me, I have not found any improvement in > performance. As remarked by the OP, the feature should not be

Re: How to disable completely org-persist

2022-12-04 Thread Colin Baxter
>writes: > On Sat, Dec 03, 2022 at 01:19:47AM +0100, Angelo Graziosi wrote: >> I have already posted this to emacs-devel people (see >> https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg00045.html). >> >> After a recent Emacs build from master I find

Re: How to disable completely org-persist

2022-12-02 Thread tomas
On Sat, Dec 03, 2022 at 01:19:47AM +0100, Angelo Graziosi wrote: > I have already posted this to emacs-devel people (see > https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg00045.html). > > After a recent Emacs build from master I find `org-persist` directory in my > `.emacs.d` folder.

How to disable completely org-persist

2022-12-02 Thread Angelo Graziosi
I have already posted this to emacs-devel people (see https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg00045.html). After a recent Emacs build from master I find `org-persist` directory in my `.emacs.d` folder. It brings no benefit but only garbage in `.emacs.d`. So how can I disable