Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]
Just to close the loop here: Despite multiple reproductions at the time, I can no longer reproduce this. I'll keep an eye on this function though. Thank you. On Tue, Jun 14, 2022, at 12:20 AM, Ihor Radchenko wrote: > "Justin Abrahms" writes: > > > All of that is correct, yes. > > Which means that you are trying to use Org functions before Org is > loaded. A cursory look across your config yields: > > (add-hook 'find-file-hook #'vulpea-project-update-tag) > wich is likely the cause. > > Will the warning disappear when you comment the above line? > > Best, > Ihor >
Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]
"Justin Abrahms" writes: > All of that is correct, yes. Which means that you are trying to use Org functions before Org is loaded. A cursory look across your config yields: (add-hook 'find-file-hook #'vulpea-project-update-tag) wich is likely the cause. Will the warning disappear when you comment the above line? Best, Ihor
Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]
All of that is correct, yes. On Mon, Jun 13, 2022, at 11:59 PM, Ihor Radchenko wrote: > "Justin Abrahms" writes: > > > I saw this error when opening emacs.org via (counsel-find-file &optional > > INITIAL-INPUT INITIAL-DIRECTORY) > > > > Slightly different error now (same style, different element), but I didn't > > get a backtrace. > > > > https://gist.github.com/justinabrahms/4bc97379cb8d8e317ca98a1f09524a5c > > Do you mean that you did the following: > > 1. (setq org-element--cache-self-verify 'backtrace) > 2. (setq org-element--cache-self-verify-frequency 1.0) > 3. Open emacs.org using counsel-find-file > 4. Got the above backtrace? > > Best, > Ihor >
Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]
"Justin Abrahms" writes: > I saw this error when opening emacs.org via (counsel-find-file &optional > INITIAL-INPUT INITIAL-DIRECTORY) > > Slightly different error now (same style, different element), but I didn't > get a backtrace. > > https://gist.github.com/justinabrahms/4bc97379cb8d8e317ca98a1f09524a5c Do you mean that you did the following: 1. (setq org-element--cache-self-verify 'backtrace) 2. (setq org-element--cache-self-verify-frequency 1.0) 3. Open emacs.org using counsel-find-file 4. Got the above backtrace? Best, Ihor
Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]
I saw this error when opening emacs.org via (counsel-find-file &optional INITIAL-INPUT INITIAL-DIRECTORY) Slightly different error now (same style, different element), but I didn't get a backtrace. https://gist.github.com/justinabrahms/4bc97379cb8d8e317ca98a1f09524a5c On Mon, Jun 13, 2022, at 10:03 PM, Ihor Radchenko wrote: > "Justin Abrahms" writes: > > > I've recently upgraded to emacs 29 w/ native-comp support. I'm > > consistently getting this error when I load emacs.org and it stops > > parsing my document, which is a bit painful. Hopefully this bug report > > helps. > > > > My full emacs.org: > > https://gist.github.com/justinabrahms/7fc5bfcc292ca6fba7d10ec2958bae57 > > > > Error I see in *Warnings*: > > > > Warning (org-element-cache): org-element--cache: (ivy-alt-done) Cached > > element is incorrect in emacs.org. (Cache tic up to date: "yes") Resetting. > > Thanks for reporting! > > Do I understand correctly that you observe the error when you are trying > to jump to a candidate from swiper buffer? > > Could you please set org-element--cache-self-verify to 'backtrace, > org-element--cache-self-verify-frequency to 1.0, try to trigger the > error; and then post the full backtrace? > > Best, > Ihor >
Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]
"Justin Abrahms" writes: > I've recently upgraded to emacs 29 w/ native-comp support. I'm > consistently getting this error when I load emacs.org and it stops > parsing my document, which is a bit painful. Hopefully this bug report > helps. > > My full emacs.org: > https://gist.github.com/justinabrahms/7fc5bfcc292ca6fba7d10ec2958bae57 > > Error I see in *Warnings*: > > Warning (org-element-cache): org-element--cache: (ivy-alt-done) Cached > element is incorrect in emacs.org. (Cache tic up to date: "yes") Resetting. Thanks for reporting! Do I understand correctly that you observe the error when you are trying to jump to a candidate from swiper buffer? Could you please set org-element--cache-self-verify to 'backtrace, org-element--cache-self-verify-frequency to 1.0, try to trigger the error; and then post the full backtrace? Best, Ihor