>>>>> "SL" == Samuel Loury <konubi...@gmail.com> writes:
SL> For what it's worth, when this happens, I generally pkill SL> -SIGUSR2 emacs. emacs reacts to the USR2 signal by stopping SL> everything and start a lisp debugging session. From there, I SL> reset all the org caches with this command: SL> (defun konix/org-element-cache-reset-all () SL> (interactive) SL> (mapc SL> (lambda (file) SL> (save-window-excursion SL> (save-excursion SL> (find-file file) SL> (org-element-cache-reset)))) SL> (org-agenda-files))) Thanks for this snippet. I know it's a little bit early but setting `org-element-use-cache' seems to do the trick for me. SL> Finally, I quit the debugging session and reset the debug on SL> quit with (toggle-debug-on-quit) and everything comes back to SL> normal. So, aren't you restarting Emacs after pkill -SIGUSR2 emacs? Regards, Sebastian -- Sebastian (Rudolfo) Christ http://rudolfochrist.github.io GPG Fingerprint: 306D 8FD3 DFB6 4E44 5061 CE71 6407 D6F8 2AC5 55DD