Re: [External] : Re: strange errors with org-element-cache-reset and jit-lock-function void-variable org-element-citation-prefix-re

2022-09-25 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> I am leaning towards removing `this-command' check, unless there are >> important reasons to keep it. > > Yes, please go ahead. Done. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3b0c4ad20794ecfb6557900897179718cc812786

Re: [External] : Re: strange errors with org-element-cache-reset and jit-lock-function void-variable org-element-citation-prefix-re

2022-09-24 Thread Bastien Guerry
Ihor Radchenko writes: > I am leaning towards removing `this-command' check, unless there are > important reasons to keep it. Yes, please go ahead. -- Bastien

Re: [External] : Re: strange errors with org-element-cache-reset and jit-lock-function void-variable org-element-citation-prefix-re

2022-09-22 Thread Ihor Radchenko
Daniel Ortmann writes: > Was Eli Z's observation the key?  Of code not autoloading when > eval-buffer is running? Yes, it is. Bastien, In f36b19eef, you introduced the following code into org.el: (or (eq this-command 'eval-buffer) (condition-case nil (load (concat

Re: [External] : Re: strange errors with org-element-cache-reset and jit-lock-function void-variable org-element-citation-prefix-re

2022-09-22 Thread Daniel Ortmann
Was Eli Z's observation the key?  Of code not autoloading when eval-buffer is running? On 9/21/22 03:37, Ihor Radchenko wrote: Daniel Ortmann writes: These two lines are in my *Messages* buffer: File mode specification error: (void-function org-element-cache-reset) Error during redisplay: