Re: BUG: org cycling regression when using the legacy folding style overlays

2022-05-30 Thread Ihor Radchenko
Kaushal Modi writes: > Oddly, I was able to reproduce that error 2 times in an emacs -Q session, > but after resetting the Org element cache, that error went away. So turns > out that the same cache can be reused between emacs -Q and regular Emacs > sessions? org-persist-directly does have a def

Re: BUG: org cycling regression when using the legacy folding style overlays

2022-05-30 Thread Ihor Radchenko
Kaushal Modi writes: > I read the ORG-NEWS: > >> The new folding backend breaks some of the =outline-*= functions that >> rely on the details of visibility state implementation in >> =outline.el=. The old Org folding backend was compatible with the >> =outline.el= folding, but it is not the case

Re: BUG: org cycling regression when using the legacy folding style overlays

2022-05-30 Thread Kaushal Modi
On Mon, May 30, 2022 at 7:45 PM Ihor Radchenko wrote: > Your code__collapse_all_posts block makes use of hide-subtree from > outline.el. Please, do not use it. outline.el is no longer considered > compatible with Org. It was not in the past, and even more so now. This > has been announced in ORG-N

Re: BUG: org cycling regression when using the legacy folding style overlays

2022-05-30 Thread Kaushal Modi
On Mon, May 30, 2022, 7:45 PM Ihor Radchenko wrote: > Kaushal Modi writes: > > > I was trying to create a minimal reproducible example for a different > > issue and I ended up with this other issue that I didn't expect and so > > I am reporting that first. > > > > Issue: Opening an Org file give

Re: BUG: org cycling regression when using the legacy folding style overlays

2022-05-30 Thread Ihor Radchenko
Kaushal Modi writes: > I was trying to create a minimal reproducible example for a different > issue and I ended up with this other issue that I didn't expect and so > I am reporting that first. > > Issue: Opening an Org file gives (wrong-number-of-arguments # looking-at> 2) error. Do I understa

BUG: org cycling regression when using the legacy folding style overlays

2022-05-30 Thread Kaushal Modi
Hello, I was trying to create a minimal reproducible example for a different issue and I ended up with this other issue that I didn't expect and so I am reporting that first. Issue: Opening an Org file gives (wrong-number-of-arguments # 2) error. = Warning (org-element-cache): org-element--c