Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-09 Thread Ihor Radchenko
Ihor Radchenko writes: > After second thought, I am not sure anymore if using XDG is a good idea. > Emacs itself only recently started supporting XDG and the support is > somewhat limited. Similar to the described case with non-existing .cache > directory, Emacs ignores non-existing .config/emacs

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-05 Thread Tim Cross
Ihor Radchenko writes: > Kaushal Modi writes: > >> Figured out the problem.. looks like Org main branch doesn't support emacs >> 25. >> >> My build script was building Org for all emacs versions starting from >> version 25. It builds fine if remove the build for emacs 25. I think I >> missed

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-05 Thread Kaushal Modi
On Fri, Nov 5, 2021, 9:48 AM Ihor Radchenko wrote: > > I am not sure if we are dropping Emacs 25 just yet. However, there is > currently more than one place in Org that does not work on Emacs 25. > See https://list.orgmode.org/87zgqu6081.fsf@localhost/T/#t > > If compilation is critical for you,

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-05 Thread Ihor Radchenko
Kaushal Modi writes: > Figured out the problem.. looks like Org main branch doesn't support emacs > 25. > > My build script was building Org for all emacs versions starting from > version 25. It builds fine if remove the build for emacs 25. I think I > missed it somewhere that Org main branch is

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-05 Thread Kaushal Modi
On Fri, Nov 5, 2021 at 9:27 AM Kaushal Modi wrote: > Hello, > > On the topic of xdg, I pulled Org from main branch today and tried to > build it but it's failing with: > > org-persist.el:32:1:Error: Cannot open load file: No such file or > directory, xdg > > Anybody else seeing this? > Figured o

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-05 Thread Kaushal Modi
On Fri, Nov 5, 2021 at 9:27 AM Kaushal Modi wrote: > Hello, > > On the topic of xdg, I pulled Org from main branch today and tried to > build it but it's failing with: > > org-persist.el:32:1:Error: Cannot open load file: No such file or > directory, xdg > > Anybody else seeing this? > To add mo

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-05 Thread Kaushal Modi
Hello, On the topic of xdg, I pulled Org from main branch today and tried to build it but it's failing with: org-persist.el:32:1:Error: Cannot open load file: No such file or directory, xdg Anybody else seeing this?

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-03 Thread Max Nikulin
On 02/11/2021 17:55, Ihor Radchenko wrote: Max Nikulin writes: Ihor, your fix affects linux as well. .cache directory may be missed in fresh accounts. E.g. I just have created a new test container (my old one has emacs-25): After second thought, I am not sure anymore if using XDG is a good id

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-02 Thread Tim Cross
Ihor Radchenko writes: > Max Nikulin writes: > >> Ihor, your fix affects linux as well. .cache directory may be missed in >> fresh accounts. E.g. I just have created a new test container (my old >> one has emacs-25): > > After second thought, I am not sure anymore if using XDG is a good idea

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-02 Thread Ihor Radchenko
Max Nikulin writes: > Ihor, your fix affects linux as well. .cache directory may be missed in > fresh accounts. E.g. I just have created a new test container (my old > one has emacs-25): After second thought, I am not sure anymore if using XDG is a good idea. Emacs itself only recently started

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-01 Thread Ihor Radchenko
> Emacs core rather than fixing this scenario on Emacs side. *Org side

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-01 Thread Ihor Radchenko
Max Nikulin writes: > Ihor, your fix affects linux as well. .cache directory may be missed in > fresh accounts. E.g. I just have created a new test container (my old > one has emacs-25): You are right. Though creating .cache dir is probably a job for xdg.el, not Org. XDG spec prescribes specif

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-01 Thread Max Nikulin
On 01/11/2021 18:29, Ihor Radchenko wrote: Scott Otterson writes: Apparently, org version 9.5 expects the directory "~/.cache" to exist, and if it doesn't, it terminates with an error. I'd suggest that org mode makes this directory if it needs it. Thanks for reporting! Fixed in 6621ee32e.

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]

2021-11-01 Thread Ihor Radchenko
Scott Otterson writes: > Apparently, org version 9.5 expects the directory "~/.cache" to exist, and > if it doesn't, it terminates with an error. I'd suggest that org mode > makes this directory if it needs it. Thanks for reporting! Fixed in 6621ee32e. Best, Ihor