Samuel Crawford <sam.crawf...@york.ac.uk> writes: > Every time I try to open a particular pdf I'm inundated with "Org parser > error"s, all looking like this: > >> Warning (org-element-cache): org-element--cache: Org parser error in > thesis.pdf::316345. Resetting. >> The error was: (error "rx ‘**’ range error") > > Is there any way I can disable org-element-cache on pdfs as a > workaround?
AFAIU, something is calling org-mode function outside of org-mode (which is wrong, even though it could work by accident in earlier versions of Org). Can you check your hooks ran when you load the problematic pdf? Best, Ihor