Re: [BUG] Warning (org-element-cache): org-element--cache: Org parser error in notmuch-show.el::10751. Resetting. [9.5.4 (release_9.5.4-702-g5a49cc @ /home/grfz/src/org-mode/lisp/)]

2022-08-12 Thread Ihor Radchenko
Gregor Zattler  writes:

> Dear org-mode developers, Ihor,
>
> I just got this warning:
>
> Warning (org-element-cache): org-element--cache: Org parser error in 
> notmuch-show.el::10751. Resetting.
>  The error was: (error "rx ‘**’ range error")

Thanks for reporting!

>  Backtrace:
> "  backtrace-to-string(nil)
>   org-element-at-point()
>   org-element-context()
>   hsys-org-link-at-p()
>   ibtypes::org-link-outside-org-mode()
>   ibut:at-p()
>   hbut:at-p()
>   hkey-execute(nil)
>   action-key-internal()
>   action-key()

> I don't know what triggered it, especially not in an elisp
> buffer.

It looks like Hyperbole is calling org-element-context, which does not
work outside org-mode now. Please report to Hyperbole devs.

> Just an hour ago, or some such, I lowered
> org-element--cache-self-verify-frequency from 1.0 to 0.1.
> Now I set it to 1.0 again.

This should be unrelated.

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92



[BUG] Warning (org-element-cache): org-element--cache: Org parser error in notmuch-show.el::10751. Resetting. [9.5.4 (release_9.5.4-702-g5a49cc @ /home/grfz/src/org-mode/lisp/)]

2022-08-12 Thread Gregor Zattler
Dear org-mode developers, Ihor,

I just got this warning:

Warning (org-element-cache): org-element--cache: Org parser error in 
notmuch-show.el::10751. Resetting.
 The error was: (error "rx ‘**’ range error")
 Backtrace:
"  backtrace-to-string(nil)
  org-element-at-point()
  org-element-context()
  hsys-org-link-at-p()
  ibtypes::org-link-outside-org-mode()
  ibut:at-p()
  hbut:at-p()
  hkey-execute(nil)
  action-key-internal()
  action-key()
  funcall-interactively(action-key)
  command-execute(action-key)
"
 Please report this to Org mode mailing list (M-x org-submit-bug-report).


I don't know what triggered it, especially not in an elisp
buffer.

Just an hour ago, or some such, I lowered
org-element--cache-self-verify-frequency from 1.0 to 0.1.
Now I set it to 1.0 again.


I deleted the "current state" part of this template due to
privacy concerns.  If you need specific variable values,
please tell me and I will provide them.[1]



Emacs  : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo 
version 1.16.0)
 of 2022-08-02
Package: Org mode version 9.5.4 (release_9.5.4-702-g5a49cc @ 
/home/grfz/src/org-mode/lisp/)




-- 
Gregor

[1] For me:  [[file:~/tmp/2022-08-12-org-element-cache---current-state::current 
state:]]