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 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 (file-name-direc

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 redi

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

2022-09-21 Thread Ihor Radchenko
Daniel Ortmann writes: > These two lines are in my *Messages* buffer: > File mode specification error: (void-function org-element-cache-reset) > Error during redisplay: (jit-lock-function 1) signaled (void-variable > org-element-citation-prefix-re) Confirmed. I know how to "fi

strange errors with org-element-cache-reset and jit-lock-function void-variable org-element-citation-prefix-re

2022-09-20 Thread Daniel Ortmann
/src/git-org-mode/lisp/) These two lines are in my *Messages* buffer: File mode specification error: (void-function org-element-cache-reset) Error during redisplay: (jit-lock-function 1) signaled (void-variable org-element-citation-prefix-re) I ran this: dortmann@ddo-linux:.emacs.d$ emacs -Q

Re: org-element-cache-reset

2021-10-25 Thread Colin Baxter 😺
>>>>> Ihor Radchenko writes: > Colin Baxter 😺 writes: >> Hello, >> >> Assuming such a question make sense, how do I manually reset >> org-persist for all org buffers? It's not clear to me if doing >> M-x org-ele

Re: org-element-cache-reset

2021-10-23 Thread Ihor Radchenko
Colin Baxter 😺 writes: > Hello, > > Assuming such a question make sense, how do I manually reset org-persist > for all org buffers? It's not clear to me if doing M-x > org-element-cache-reset is sufficient. You can reset cache in all open Org buffers via M-: (org-elem

org-element-cache-reset

2021-10-23 Thread Colin Baxter 😺
Hello, Assuming such a question make sense, how do I manually reset org-persist for all org buffers? It's not clear to me if doing M-x org-element-cache-reset is sufficient. Thanks. Best wishes,