emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
@ 2024-12-20 21:30 Paul Stansell
  2024-12-23 17:16 ` Ihor Radchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Stansell @ 2024-12-20 21:30 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 8185 bytes --]

Hello,

Occasionally, when I start emacs from the command line, I get this bug, but
it's intermittent,
so I have ignored it until now.

All I can report is that I opened an org file named scratch.org and
received the following error message:

  Warning (org-element): org-element--cache: Org parser error in
scratch.org::8756. Resetting.
   The error was: (error "Invalid search bound (wrong side of point)")
   Backtrace:
  nil
   Please report this to Org mode mailing list (M-x org-submit-bug-report).

Then I closed the buggy emacs window and tried again and it was fine.

Paul
------------------------------------------------------------------------

Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.33, cairo version 1.16.0)
 of 2024-09-17, modified by Debian
Package: Org mode version 9.8-pre (release_9.7.16-169-ge87ecf @
~/.emacs.d/org-mode-git/lisp/)

current state:
==============
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-link-shell-confirm-function 'yes-or-no-p
 org-sort-function 'string-collate-lessp
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 org-startup-folded t
 org-id-link-to-org-use-id t
 org-mode-hook '(#[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-fold-show-all
append local] 5]
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook
org-babel-show-result-all append local]
                   5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-clock-persist 'history
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-clock-history-length 28
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-bibtex-headline-format-function 'org-bibtex-headline-format-default
 org-adapt-indentation t
 org-babel-pre-tangle-hook '(save-buffer)
 org-file-apps '((auto-mode . emacs) ("\\.odt\\'" . "libreoffice %s")
                 ("\\.docx\\'" . "libreoffice %s") ("\\.xlsx\\'" .
"libreoffice %s")
                 ("\\.png\\'" . "xv %s") ("\\.jpg\\'" . "xv %s")
("\\.jpeg\\'" . "xv %s")
                 ("\\.webp\\'" . "xv %s") ("\\.pdf\\'" . "okular \"%s\"")
                 ("\\.xoj" . "xournal %s") ("\\.xopp" . "xournalpp %s"))
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-hide-leading-stars t
 org-babel-load-languages '((R . t) (emacs-lisp . t) (gnuplot . t) (octave
. t) (python . t)
                            (fortran . t) (sql . t) (ditaa . t) (dot . t)
(shell . t))
 org-log-done 'time
 org-highlight-latex-and-related '(latex)
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-agenda-loop-over-headlines-in-active-region nil
 org-fontify-done-headline nil
 org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
 org-occur-hook '(org-first-headline-recenter)
 org-log-into-drawer t
 org--warnings '("org-element--cache: Org parser error in scratch.org::8756.
Resetting.\n The error was: (error \"Invalid search bound (wrong side of
point)\")\n Backtrace:\nnil\n Please report this to Org mode mailing list
(M-x org-submit-bug-report).")
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-show-empty-lines
                  org-cycle-optimize-window-after-visibility-change
                  org-cycle-display-link-previews)
 org-todo-keywords '((sequence "TODO(t!)" "MAYBE(m!)" "STARTED(s!)"
"WAITING(w@/!)" "|"
                      "DONE(d)" "INFO(i!)" "CANCELLED(c@)" "UNFINISHED(u@)"
"ABANDONED(a@)")
                     )
 org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
 org-yank-image-file-name-function 'org-yank-image-autogen-filename
 org-fold-catch-invisible-edits 'error
 org-babel-tangle-lang-exts '(("fortran" . "F90") ("python" . "py")
("emacs-lisp" . "el")
                              ("elisp" . "el"))
 org-format-latex-options '(:foreground "Yellow" :background default :scale
1.2
                            :html-foreground "Black" :html-background
"Transparent"
                            :html-scale 1.07 :matchers ("begin" "$1" "$"
"$$" "\\(" "\\["))
 org-clock-display-default-range 'untilnow
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-confirm-shell-link-function 'yes-or-no-p
 org-link-parameters '(("attachment" :follow org-attach-follow :complete
                        org-attach-complete-link :preview
org-attach-preview-file)
                       ("eww" :follow org-eww-open :store
org-eww-store-link)
                       ("rmail" :follow org-rmail-open :store
org-rmail-store-link)
                       ("mhe" :follow org-mhe-open :store
org-mhe-store-link)
                       ("irc" :follow org-irc-visit :store
org-irc-store-link :export
                        org-irc-export)
                       ("info" :follow org-info-open :export
org-info-export :store
                        org-info-store-link :insert-description
                        org-info-description-as-command)
                       ("gnus" :follow org-gnus-open :store
org-gnus-store-link)
                       ("docview" :follow org-docview-open :export
org-docview-export :store
                        org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
                       ("bbdb" :follow org-bbdb-open :export
org-bbdb-export :complete
                        org-bbdb-complete-link :store org-bbdb-store-link)
                       ("w3m" :store org-w3m-store-link)
                       ("doi" :follow org-link-doi-open :export
org-link-doi-export)
                       ("id" :follow org-id-open :store
org-id-store-link-maybe)
                       ("file+sys") ("file+emacs") ("shell" :follow
org-link--open-shell)
                       ("news" :follow
                        #[514 "\301\300\302 Q \"\207" ["news" browse-url
":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("mailto" :follow
                        #[514 "\301\300\302 Q \"\207" ["mailto" browse-url
":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("https" :follow
                        #[514 "\301\300\302 Q \"\207" ["https" browse-url
":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("http" :follow
                        #[514 "\301\300\302 Q \"\207" ["http" browse-url
":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("ftp" :follow
                        #[514 "\301\300\302 Q \"\207" ["ftp" browse-url
":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("help" :follow org-link--open-help :store
org-link--store-help)
                       ("file" :complete org-link-complete-file :preview
                        org-link-preview-file)
                       ("elisp" :follow org-link--open-elisp))
 org-link-elisp-confirm-function 'yes-or-no-p
 org-todo-keyword-faces '(("TODO" :foreground "light pink" :weight bold)
                          ("MAYBE" :foreground "light pink" :weight bold)
                          ("STARTED" :foreground "gold" :weight bold)
                          ("DONE" :foreground "light green" :weight bold)
                          ("WAITING" :foreground "gold" :weight bold)
                          ("CANCELLED" :foreground "light green" :weight
bold)
                          ("UNFINISHED" :foreground "light green" :weight
bold)
                          ("ABANDONED" :foreground "light green" :weight
bold))
 org-clock-into-drawer "CLOCK"
 org-clock-in-switch-to-state "STARTED"
 org-clock-out-remove-zero-time-clocks t
 org-confirm-babel-evaluate nil
 )

[-- Attachment #2: Type: text/html, Size: 10933 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-20 21:30 [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)] Paul Stansell
@ 2024-12-23 17:16 ` Ihor Radchenko
  2024-12-23 18:02   ` Paul Stansell
  0 siblings, 1 reply; 15+ messages in thread
From: Ihor Radchenko @ 2024-12-23 17:16 UTC (permalink / raw)
  To: Paul Stansell; +Cc: emacs-orgmode

Paul Stansell <paulstansell@gmail.com> writes:

> Occasionally, when I start emacs from the command line, I get this bug, but
> it's intermittent,
> so I have ignored it until now.
>
> All I can report is that I opened an org file named scratch.org and
> received the following error message:
>
>   Warning (org-element): org-element--cache: Org parser error in
> scratch.org::8756. Resetting.
>    The error was: (error "Invalid search bound (wrong side of point)")
>    Backtrace:
>   nil
>    Please report this to Org mode mailing list (M-x org-submit-bug-report).

Thanks for reporting!
May you add
(setq org-element--cache-self-verify 'backtrace)
to your config?

This will enable extra logging that will provide more context about the error.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-23 17:16 ` Ihor Radchenko
@ 2024-12-23 18:02   ` Paul Stansell
  2024-12-23 18:08     ` Ihor Radchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Stansell @ 2024-12-23 18:02 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

Hello Ihor,

May you add
> (setq org-element--cache-self-verify 'backtrace)
> to your config?


Sure, I'll do that.

In case it's relevant, I also frequently get warnings like the following:

Warning (emacs): Emacs reader failed to read data in
"~/.cache/org-persist//gc-lock.eld". The error was: "End of file during
parsing"

Paul

[-- Attachment #2: Type: text/html, Size: 745 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-23 18:02   ` Paul Stansell
@ 2024-12-23 18:08     ` Ihor Radchenko
  2024-12-23 23:33       ` Paul Stansell
  0 siblings, 1 reply; 15+ messages in thread
From: Ihor Radchenko @ 2024-12-23 18:08 UTC (permalink / raw)
  To: Paul Stansell; +Cc: emacs-orgmode

Paul Stansell <paulstansell@gmail.com> writes:

> In case it's relevant, I also frequently get warnings like the following:
>
> Warning (emacs): Emacs reader failed to read data in
> "~/.cache/org-persist//gc-lock.eld". The error was: "End of file during
> parsing"

May it be that you often have multiple Emacs processes running
simultaneously and killed by signal?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-23 18:08     ` Ihor Radchenko
@ 2024-12-23 23:33       ` Paul Stansell
  2024-12-24  9:00         ` Ihor Radchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Stansell @ 2024-12-23 23:33 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

>
> May it be that you often have multiple Emacs processes running
> simultaneously and killed by signal?
>

I do typically have multiple Emacs processes running simultaneously, but
I'm not aware that I kill Emacs processes, I either quit Emacs with C-x
C-c, or I click on the "X" in the top right of the window.  Could the
latter be sending a kill signal?  By the way, I've exited Emacs by clicking
the "X" for years, but I've only recently noticed the warnings.  Also, if I
switch to using the version of Org Mode that comes with the distribution
(Kubuntu 22.04), instead of using the recent one from a git clone, I don't
think I get the warmings.

[-- Attachment #2: Type: text/html, Size: 926 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-23 23:33       ` Paul Stansell
@ 2024-12-24  9:00         ` Ihor Radchenko
  2024-12-27 15:27           ` Paul Stansell
  0 siblings, 1 reply; 15+ messages in thread
From: Ihor Radchenko @ 2024-12-24  9:00 UTC (permalink / raw)
  To: Paul Stansell; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

Paul Stansell <paulstansell@gmail.com> writes:

>>
>> May it be that you often have multiple Emacs processes running
>> simultaneously and killed by signal?
>
> I do typically have multiple Emacs processes running simultaneously, but
> I'm not aware that I kill Emacs processes, I either quit Emacs with C-x
> C-c, or I click on the "X" in the top right of the window.  Could the
> latter be sending a kill signal?

No idea :)
In any case, your errors look like some kind of mixed state from
multiple Emacs sessions writing to the same cache file.
May you try the attached patch?

> ... By the way, I've exited Emacs by clicking
> the "X" for years, but I've only recently noticed the warnings.  Also, if I
> switch to using the version of Org Mode that comes with the distribution
> (Kubuntu 22.04), instead of using the recent one from a git clone, I don't
> think I get the warmings.

That's because disk cache has been introduced in the recent Org mode
versions.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-persist-Fix-mixing-cace-data-from-multiple-Emacs.patch --]
[-- Type: text/x-patch, Size: 4255 bytes --]

From 15b8681c0c8db555b20d70b2a47cef996ff1cebf Mon Sep 17 00:00:00 2001
Message-ID: <15b8681c0c8db555b20d70b2a47cef996ff1cebf.1735030672.git.yantar92@posteo.net>
From: Ihor Radchenko <yantar92@posteo.net>
Date: Tue, 24 Dec 2024 09:45:42 +0100
Subject: [PATCH] org-persist: Fix mixing cace data from multiple Emacs
 processes

* lisp/org-persist.el (org-persist--write-elisp-file): When there is a
clash with other Emacs process while writing cache data, discard the
cache to avoid any problem.
(org-persist-write): Return nil when any kind of error occurs when
writing.
(org-persist--refresh-gc-lock):
(org-persist--gc-orphan-p): Bail out when writing fails.

Reported-by: Paul Stansell <paulstansell@gmail.com>
Link: https://orgmode.org/list/YT3PR01MB95943D4DB2E659091A2BDE8DBE2E2@YT3PR01MB9594.CANPRD01.PROD.OUTLOOK.COM
---
 lisp/org-persist.el | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 886d227c0a..788714fb15 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -478,11 +478,12 @@ (defun org-persist--write-elisp-file (file data &optional no-circular pp)
         (start-time (float-time)))
     (unless (file-exists-p (file-name-directory file))
       (make-directory (file-name-directory file) t))
-    ;; Force writing even when the file happens to be opened by
-    ;; another Emacs process.
+    ;; Discard cache when there is a clash with other Emacs process.
+    ;; This way, we make sure that cache is never mixing data & record
+    ;; from different processes.
     (cl-letf (((symbol-function #'ask-user-about-lock)
-               ;; FIXME: Emacs 27 does not yet have `always'.
-               (lambda (&rest _) t)))
+               (lambda (&rest _)
+                 (error "Other Emacs process is writing to cache"))))
       (with-temp-file file
         (insert ";;   -*- mode: lisp-data; -*-\n")
         (if pp
@@ -1120,12 +1121,13 @@ (defun org-persist-write (container &optional associated ignore-return)
              (seq-find (lambda (v)
                          (run-hook-with-args-until-success 'org-persist-before-write-hook v associated))
                        (plist-get collection :container)))
-      (when (or (file-exists-p org-persist-directory) (org-persist--save-index))
-        (let ((file (org-file-name-concat org-persist-directory (plist-get collection :persist-file)))
-              (data (mapcar (lambda (c) (cons c (org-persist-write:generic c collection)))
-                            (plist-get collection :container))))
-          (org-persist--write-elisp-file file data)
-          (or ignore-return (org-persist-read container associated)))))))
+      (ignore-errors
+        (when (or (file-exists-p org-persist-directory) (org-persist--save-index))
+          (let ((file (org-file-name-concat org-persist-directory (plist-get collection :persist-file)))
+                (data (mapcar (lambda (c) (cons c (org-persist-write:generic c collection)))
+                              (plist-get collection :container))))
+            (org-persist--write-elisp-file file data)
+            (or ignore-return (org-persist-read container associated))))))))
 
 (defun org-persist-write-all (&optional associated)
   "Save all the persistent data.
@@ -1226,7 +1228,7 @@ (defun org-persist--refresh-gc-lock ()
       (when (< (- (float-time (cdr record)) (float-time (current-time)))
                org-persist-gc-lock-expiry)
         (push record new-alist)))
-    (org-persist--write-elisp-file file new-alist)))
+    (ignore-errors (org-persist--write-elisp-file file new-alist))))
 
 (defun org-persist--gc-orphan-p ()
   "Return non-nil, when orphan files should be garbage-collected.
@@ -1234,7 +1236,7 @@ (defun org-persist--gc-orphan-p ()
   (let* ((file (org-file-name-concat org-persist-directory org-persist-gc-lock-file))
          (alist (when (file-exists-p file) (org-persist--read-elisp-file file))))
     (setq alist (org-assoc-delete-all before-init-time alist))
-    (org-persist--write-elisp-file file alist)
+    (ignore-errors (org-persist--write-elisp-file file alist))
     ;; Only GC orphan files when there are no active sessions.
     (not alist)))
 
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-24  9:00         ` Ihor Radchenko
@ 2024-12-27 15:27           ` Paul Stansell
  2024-12-27 15:41             ` Ihor Radchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Stansell @ 2024-12-27 15:27 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

Hi Ihor,

Here are some diagnostic messages I just received when opening a file
called scratch.org:

  org-element-cache diagnostics(scratch.org): Recovering persistent cached
element: "(keyword (:standard-properties [1 1 nil nil 22 0 nil top-comment
element t nil nil nil nil #<buffer scratch.org> nil nil (section
(:standard-properties [1 1 1 1160 1160 0 nil first-section element t nil 1
1160 nil #<buffer scratch.org> nil nil ...] :fragile-cache nil))] :key
\"TITLE\" :value \"Scratch.org\"))"

  org-element-cache diagnostics(scratch.org): Recovering persistent cached
element: "(section (:standard-properties [1 1 1 1160 1160 0 nil
first-section element t nil 1 1160 nil #<buffer scratch.org> nil nil
(org-data (:standard-properties [1 1 1 11872 11872 0 nil org-data nil t nil
3 11872 nil #<buffer scratch.org> nil nil nil] :path \"/Home/ps/scratch.org\"
:fragile-cache nil :CATEGORY \"scratch\"))] :fragile-cache nil))"

  org-element-cache diagnostics(scratch.org): Recovering persistent cached
element: "(org-data (:standard-properties [1 1 1 11872 11872 0 nil org-data
nil t nil 3 11872 nil #<buffer scratch.org> nil nil nil] :path \"/Home/ps/
scratch.org\" :fragile-cache nil :CATEGORY \"scratch\"))"

  org-element-cache diagnostics(scratch.org): Loading persistent cache for
~/scratch.org

[-- Attachment #2: Type: text/html, Size: 2175 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-27 15:27           ` Paul Stansell
@ 2024-12-27 15:41             ` Ihor Radchenko
  2024-12-27 16:56               ` Paul Stansell
  0 siblings, 1 reply; 15+ messages in thread
From: Ihor Radchenko @ 2024-12-27 15:41 UTC (permalink / raw)
  To: Paul Stansell; +Cc: emacs-orgmode

Paul Stansell <paulstansell@gmail.com> writes:

> Here are some diagnostic messages I just received when opening a file
> called scratch.org:
> ...

Thanks!

>   org-element-cache diagnostics(scratch.org): Recovering persistent cached
> element ...

It is not the full log, right?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-27 15:41             ` Ihor Radchenko
@ 2024-12-27 16:56               ` Paul Stansell
  2024-12-27 17:11                 ` Paul Stansell
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Stansell @ 2024-12-27 16:56 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

>
> It is not the full log, right?
>

It's everything that was printed in the Warnings buffer.

[-- Attachment #2: Type: text/html, Size: 330 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-27 16:56               ` Paul Stansell
@ 2024-12-27 17:11                 ` Paul Stansell
  2024-12-27 18:18                   ` Ihor Radchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Stansell @ 2024-12-27 17:11 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2343 bytes --]

>
> It's everything that was printed in the Warnings buffer.
>

Actually, maybe it wasn't everything as I didn't scroll up in the buffer!
It just happened again:

 Warning (org-element): org-element--cache: Warning(scratch.org): Org
parser error in scratch.org::8756. Resetting.
 The error was: (error "Invalid search bound (wrong side of point)")
 Backtrace:
nil
 Please report this to Org mode mailing list (M-x org-submit-bug-report).
Backtrace:
  org-element-cache diagnostics(scratch.org): Recovering persistent cached
element: "(example-block (:standard-properties [1493 1504 nil nil 2027 0
nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section
(:standard-properties [2 2 2 2027 2027 0 nil first-section element t nil 2
2027 nil #<buffer scratch.org> nil nil ...]))] :value [org-element-deferred
org-element--unescape-substring (27 520) t] :switches nil :number-lines nil
:preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :results
(\"\")))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached
element: "(src-block (:standard-properties [2 2 nil nil 1493 1 nil
top-comment element t nil nil nil nil #<buffer scratch.org> nil nil
(section (:standard-properties [2 2 2 2027 2027 0 nil first-section element
t nil 2 2027 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\"
:switches nil :parameters \":results output :exports both\" :number-lines
nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil
:value [org-element-deferred org-element--unescape-substring (49 1480) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached
element: "(section (:standard-properties [2 2 2 2027 2027 0 nil
first-section element t nil 2 2027 nil #<buffer scratch.org> nil nil
(org-data (:standard-properties [1 1 2 2027 2027 0 nil org-data nil t nil 4
2027 nil #<buffer scratch.org> nil nil nil] :path \"/Home/ps/scratch.org\"
:CATEGORY \"scratch\" :fragile-cache nil))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached
element: "(org-data (:standard-properties [1 1 2 2027 2027 0 nil org-data
nil t nil 4 2027 nil #<buffer scratch.org> nil nil nil] :path \"/Home/ps/
scratch.org\" :CATEGORY \"scratch\" :fragile-cache nil))"
  org-element-cache diagnostics(scratch.org): Loading persistent cache for
~/scratch.org

[-- Attachment #2: Type: text/html, Size: 3658 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-27 17:11                 ` Paul Stansell
@ 2024-12-27 18:18                   ` Ihor Radchenko
  2024-12-27 20:47                     ` Paul Stansell
  0 siblings, 1 reply; 15+ messages in thread
From: Ihor Radchenko @ 2024-12-27 18:18 UTC (permalink / raw)
  To: Paul Stansell; +Cc: emacs-orgmode

Paul Stansell <paulstansell@gmail.com> writes:

>>
>> It's everything that was printed in the Warnings buffer.
>>
>
> Actually, maybe it wasn't everything as I didn't scroll up in the buffer!
> It just happened again:
>
>  Warning (org-element): org-element--cache: Warning(scratch.org): Org
> parser error in scratch.org::8756. Resetting.
>  The error was: (error "Invalid search bound (wrong side of point)")
>  Backtrace:
> nil
>  Please report this to Org mode mailing list (M-x org-submit-bug-report).
> Backtrace:
>   org-element-cache diagnostics(scratch.org): Recovering persistent cached
> element:...

This looks more reasonable.
Is this with my patch applied?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-27 18:18                   ` Ihor Radchenko
@ 2024-12-27 20:47                     ` Paul Stansell
  2024-12-28 17:17                       ` Paul Stansell
  2024-12-29  7:13                       ` Ihor Radchenko
  0 siblings, 2 replies; 15+ messages in thread
From: Paul Stansell @ 2024-12-27 20:47 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

>
> This looks more reasonable.
> Is this with my patch applied?
>

Yes, the patch is applied.

[-- Attachment #2: Type: text/html, Size: 332 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-27 20:47                     ` Paul Stansell
@ 2024-12-28 17:17                       ` Paul Stansell
  2024-12-29  7:13                       ` Ihor Radchenko
  1 sibling, 0 replies; 15+ messages in thread
From: Paul Stansell @ 2024-12-28 17:17 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 99 bytes --]

I just got the attached warnings (with the patch applied) when I opened a
file called scratch.org.

[-- Attachment #1.2: Type: text/html, Size: 153 bytes --]

[-- Attachment #2: warnings.txt --]
[-- Type: text/plain, Size: 83085 bytes --]

Warning (org-element): org-element--cache: Warning(scratch.org): (nil) Cached element is incorrect in scratch.org. (Cache tic up to date: "yes") Resetting.
If this warning appears regularly, please report the warning text to Org mode mailing list (M-x org-submit-bug-report).
The element is: "(src-block (:standard-properties [7117 7117 nil nil 7328 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7067 7067 7067 7344 7344 0 nil section element t nil 7067 7344 nil #<buffer scratch.org> nil nil ...]))] :language \"gnuplot\" :switches nil :parameters \":exports none\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (38 196) t]))"
 The real element is: "(src-block (:standard-properties [7085 7085 nil nil 7296 1 nil nil element nil nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7035 7035 7035 7312 7312 0 nil section element nil nil 7035 7312 nil #<buffer scratch.org> nil nil ...]))] :language \"gnuplot\" :switches nil :parameters \":exports none\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (38 196) t]))"
 Cache around :begin:
"(paragraph (:standard-properties [7067 7067 7067 7117 7117 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7067 7067 7067 7344 7344 0 nil section element t nil 7067 7344 nil #<buffer scratch.org> nil nil ...]))]))"
"(paragraph (:standard-properties [7067 7067 7067 7117 7117 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7067 7067 7067 7344 7344 0 nil section element t nil 7067 7344 nil #<buffer scratch.org> nil nil ...]))]))"
"(src-block (:standard-properties [7117 7117 nil nil 7328 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7067 7067 7067 7344 7344 0 nil section element t nil 7067 7344 nil #<buffer scratch.org> nil nil ...]))] :language \"gnuplot\" :switches nil :parameters \":exports none\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (38 196) t]))"
Backtrace:
  org-element-cache diagnostics(scratch.org): Added new element with nil key: "(paragraph (:standard-properties [781 781 781 852 854 2 nil nil element nil nil nil nil nil #<buffer scratch.org> nil nil nil]))"
  org-element-cache diagnostics(scratch.org): Added new element with nil key: "(paragraph (:standard-properties [11570 11570 11570 11578 11578 0 nil nil element nil nil nil nil nil #<buffer scratch.org> nil nil nil]))"
  org-element-cache diagnostics(scratch.org): Added new element with nil key: "(fixed-width (:standard-properties [11510 11510 nil nil 11570 1 nil nil element nil nil nil nil nil #<buffer scratch.org> nil nil nil] :value \"#+STARTUP: showeverything   ; show even drawer contents\"))"
  org-element-cache diagnostics(scratch.org): Added new element with nil key: "(paragraph (:standard-properties [11482 11482 11482 11510 11510 0 nil nil element nil nil nil nil nil #<buffer scratch.org> nil nil nil]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [11434 11434 nil nil 11482 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (drawer (:standard-properties [11165 11165 11176 11602 11610 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil ...] :drawer-name \"HIDDEN\"))] :key \"STARTUP\" :value \"content            ; all headlines\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(fixed-width (:standard-properties [11375 11375 nil nil 11434 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (drawer (:standard-properties [11165 11165 11176 11602 11610 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil ...] :drawer-name \"HIDDEN\"))] :value \"#+STARTUP: overview;        ; top-level headlines only\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [11305 11305 nil nil 11375 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (drawer (:standard-properties [11165 11165 11176 11602 11610 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil ...] :drawer-name \"HIDDEN\"))] :key \"STARTUP\" :value \"nohideblocks       ; Don't hide code-blocks at start-up\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(fixed-width (:standard-properties [11242 11242 nil nil 11305 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (drawer (:standard-properties [11165 11165 11176 11602 11610 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil ...] :drawer-name \"HIDDEN\"))] :value \"#+STARTUP: hideblocks       ; Hide code-blocks at start-up\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [11176 11176 nil nil 11242 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (drawer (:standard-properties [11165 11165 11176 11602 11610 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil ...] :drawer-name \"HIDDEN\"))] :key \"STARTUP\" :value \"hidestars          ; Hide leading stars at start-up\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(drawer (:standard-properties [11165 11165 11176 11602 11610 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [11165 11165 11165 11610 11610 0 nil section element t nil 11165 11610 nil #<buffer scratch.org> nil nil ...]))] :drawer-name \"HIDDEN\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [11165 11165 11165 11610 11610 0 nil section element t nil 11165 11610 nil #<buffer scratch.org> nil nil (headline (:standard-properties [11087 11087 11165 11610 11610 0 ... nil element t nil 11167 11610 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [11087 11087 11165 11610 11610 0 (:title) nil element t nil 11167 11610 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (org-data (:standard-properties [1 1 1 11610 11610 0 nil org-data nil t nil 3 11610 nil #<buffer scratch.org> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"~/scratch.org\"))] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [9350 9350 9371 10288 10288 0 (:title) nil element t nil 9373 10288 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (org-data (:standard-properties [1 1 1 11610 11610 0 nil org-data nil t nil 3 11610 nil #<buffer scratch.org> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"~/scratch.org\"))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [8748 8748 nil nil 8790 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [8518 8518 8518 9350 9350 0 nil section element t nil 8518 9350 nil #<buffer scratch.org> nil nil ...]))] :key \"CONSTANTS\" :value \"gravity=9.8066 pi=3.14159\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(table (:standard-properties [8518 8587 8587 8697 8748 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [8518 8518 8518 9350 9350 0 nil section element t nil 8518 9350 nil #<buffer scratch.org> nil nil ...]))] :type org :tblfm (\"$2=$1/3;%.2f :: $3=$gravity*$1/$pi;%.2f\") :value nil :name \"O_table1\" :caption (((#(\"Example floating table with caption.\" 0 36 ...))))))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [8518 8518 8518 9350 9350 0 nil section element t nil 8518 9350 nil #<buffer scratch.org> nil nil (headline (:standard-properties [8500 8500 8518 9350 9350 0 ... nil element t nil 8520 9350 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [8500 8500 8518 9350 9350 0 (:title) nil element t nil 8520 9350 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (org-data (:standard-properties [1 1 1 11610 11610 0 nil org-data nil t nil 3 11610 nil #<buffer scratch.org> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"~/scratch.org\"))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [7583 7615 nil nil 7790 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7583 7583 7583 8034 8034 0 nil section element t nil 7583 8034 nil #<buffer scratch.org> nil nil ...]))] :language \"gnuplot\" :switches nil :parameters \":file /tmp/sin_plot.png :exports results\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (98 191) t] :name \"simple_gnuplot_png\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [7583 7583 7583 8034 8034 0 nil section element t nil 7583 8034 nil #<buffer scratch.org> nil nil (headline (:standard-properties [7568 7568 7583 8034 8034 0 ... nil element t nil 7585 8034 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [7568 7568 7583 8034 8034 0 (:title) nil element t nil 7585 8034 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [7344 7344 7408 8500 8500 0 ... nil element t nil 7410 8500 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [7408 7408 7408 7568 7568 0 nil section element t nil 7408 7568 nil #<buffer scratch.org> nil nil (headline (:standard-properties [7344 7344 7408 8500 8500 0 ... nil element t nil 7410 8500 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [7344 7344 7408 8500 8500 0 (:title) nil element t nil 7410 8500 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [5273 5273 5285 8500 8500 0 ... nil element t nil 5287 8500 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [7117 7117 nil nil 7328 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7067 7067 7067 7344 7344 0 nil section element t nil 7067 7344 nil #<buffer scratch.org> nil nil ...]))] :language \"gnuplot\" :switches nil :parameters \":exports none\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (38 196) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(paragraph (:standard-properties [7067 7067 7067 7117 7117 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [7067 7067 7067 7344 7344 0 nil section element t nil 7067 7344 nil #<buffer scratch.org> nil nil ...]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [7067 7067 7067 7344 7344 0 nil section element t nil 7067 7344 nil #<buffer scratch.org> nil nil (headline (:standard-properties [7044 7044 7067 7344 7344 0 ... nil element t nil 7069 7344 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [7044 7044 7067 7344 7344 0 (:title) nil element t nil 7069 7344 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [5273 5273 5285 8500 8500 0 ... nil element t nil 5287 8500 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [6263 6263 6292 7044 7044 0 (:title) nil element t nil 6294 7044 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [5273 5273 5285 8500 8500 0 ... nil element t nil 5287 8500 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [6108 6108 nil nil 6263 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [5886 5886 5886 6263 6263 0 nil section element t nil 5886 6263 nil #<buffer scratch.org> nil nil ...]))] :language \"gnuplot\" :switches nil :parameters \":var d=G_table1 :results silent\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (56 140) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(table (:standard-properties [5886 5987 5987 6107 6108 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [5886 5886 5886 6263 6263 0 nil section element t nil 5886 6263 nil #<buffer scratch.org> nil nil ...]))] :type org :tblfm nil :value nil :name \"G_table1\" :attr_latex (\":placement [H]\") :caption (((#(\"Table used for gnuplot example.\" 0 31 ...))))))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [5886 5886 5886 6263 6263 0 nil section element t nil 5886 6263 nil #<buffer scratch.org> nil nil (headline (:standard-properties [5865 5865 5886 6263 6263 0 ... nil element t nil 5888 6263 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [5865 5865 5886 6263 6263 0 (:title) nil element t nil 5888 6263 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [5273 5273 5285 8500 8500 0 ... nil element t nil 5287 8500 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [5285 5285 5304 5865 5865 0 (:title) section element t nil 5306 5865 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [5273 5273 5285 8500 8500 0 ... nil element t nil 5287 8500 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [5273 5273 5285 8500 8500 0 (:title) nil element t nil 5287 8500 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [898 898 915 8500 8500 0 ... nil element t nil 917 8500 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [5112 5112 nil nil 5273 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [4817 4817 4817 5273 5273 0 nil section element t nil 4817 5273 nil #<buffer scratch.org> nil nil ...]))] :language \"gnuplot\" :switches nil :parameters \":var d=R_table1 :results silent\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (56 146) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(table (:standard-properties [4987 5011 5011 5111 5112 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [4817 4817 4817 5273 5273 0 nil section element t nil 4817 5273 nil #<buffer scratch.org> nil nil ...]))] :type org :tblfm nil :value nil :results (\"R_table1\")))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [4817 4838 nil nil 4987 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [4817 4817 4817 5273 5273 0 nil section element t nil 4817 5273 nil #<buffer scratch.org> nil nil ...]))] :language \"R\" :switches nil :parameters \":colnames yes\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (53 155) t] :name \"R_table1\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [4817 4817 4817 5273 5273 0 nil section element t nil 4817 5273 nil #<buffer scratch.org> nil nil (headline (:standard-properties [4788 4788 4817 5273 5273 0 ... nil element t nil 4819 5273 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [4788 4788 4817 5273 5273 0 (:title) nil element t nil 4819 5273 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [3848 3848 3854 5273 5273 0 ... nil element t nil 3856 5273 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [4267 4267 4291 4788 4788 0 (:title) nil element t nil 4293 4788 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [3848 3848 3854 5273 5273 0 ... nil element t nil 3856 5273 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [3984 4004 nil nil 4163 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [3984 3984 3984 4267 4267 0 nil section element t nil 3984 4267 nil #<buffer scratch.org> nil nil ...]))] :language \"R\" :switches nil :parameters \":results output :exports both\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (68 164) t] :name \"output1\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [3984 3984 3984 4267 4267 0 nil section element t nil 3984 4267 nil #<buffer scratch.org> nil nil (headline (:standard-properties [3961 3961 3984 4267 4267 0 ... nil element t nil 3986 4267 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [3961 3961 3984 4267 4267 0 (:title) nil element t nil 3986 4267 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [3848 3848 3854 5273 5273 0 ... nil element t nil 3856 5273 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [3854 3854 3854 3961 3961 0 nil section element t nil 3854 3961 nil #<buffer scratch.org> nil nil (headline (:standard-properties [3848 3848 3854 5273 5273 0 ... nil element t nil 3856 5273 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [3848 3848 3854 5273 5273 0 (:title) nil element t nil 3856 5273 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [898 898 915 8500 8500 0 ... nil element t nil 917 8500 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [3610 3610 nil nil 3848 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [3407 3407 3407 3848 3848 0 nil section element t nil 3407 3848 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":results silent\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (40 222) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [3407 3407 nil nil 3610 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [3407 3407 3407 3848 3848 0 nil section element t nil 3407 3848 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":results silent\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (40 187) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [3407 3407 3407 3848 3848 0 nil section element t nil 3407 3848 nil #<buffer scratch.org> nil nil (headline (:standard-properties [3345 3345 3407 3848 3848 0 ... nil element t nil 3409 3848 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [3345 3345 3407 3848 3848 0 (:title) nil element t nil 3409 3848 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [1425 1425 1438 3848 3848 0 ... nil element t nil 1440 3848 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [3238 3238 nil nil 3328 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [2856 2856 2856 3345 3345 0 nil section element t nil 2856 3345 nil #<buffer scratch.org> nil nil ...]))] :language \"shell\" :switches nil :parameters nil :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (23 74) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(paragraph (:standard-properties [3177 3177 3177 3238 3238 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [2856 2856 2856 3345 3345 0 nil section element t nil 2856 3345 nil #<buffer scratch.org> nil nil ...]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(paragraph (:standard-properties [3124 3140 3140 3176 3177 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [2856 2856 2856 3345 3345 0 nil section element t nil 2856 3345 nil #<buffer scratch.org> nil nil ...]))] :results (\"\")))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [2856 2856 nil nil 3124 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [2856 2856 2856 3345 3345 0 nil section element t nil 2856 3345 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":results file\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (38 252) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [2856 2856 2856 3345 3345 0 nil section element t nil 2856 3345 nil #<buffer scratch.org> nil nil (headline (:standard-properties [2833 2833 2856 3345 3345 0 ... nil element t nil 2858 3345 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [2833 2833 2856 3345 3345 0 (:title) nil element t nil 2858 3345 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [1425 1425 1438 3848 3848 0 ... nil element t nil 1440 3848 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [1528 1528 nil nil 2648 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1460 1460 1460 2833 2833 0 nil section element t nil 1460 2833 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":session myOct1 :results output :exports both\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (70 1104) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(paragraph (:standard-properties [1460 1460 1460 1528 1528 0 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1460 1460 1460 2833 2833 0 nil section element t nil 1460 2833 nil #<buffer scratch.org> nil nil ...]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [1460 1460 1460 2833 2833 0 nil section element t nil 1460 2833 nil #<buffer scratch.org> nil nil (headline (:standard-properties [1438 1438 1460 2833 2833 0 ... section element t nil 1462 2833 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [1438 1438 1460 2833 2833 0 (:title) section element t nil 1462 2833 4 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [1425 1425 1438 3848 3848 0 ... nil element t nil 1440 3848 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [1425 1425 1438 3848 3848 0 (:title) nil element t nil 1440 3848 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [915 915 925 3848 3848 0 ... section element t nil 927 3848 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [1316 1316 nil nil 1394 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1237 1237 1237 1425 1425 0 nil section element t nil 1237 1425 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":session oct1 :results output\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (53 63) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [1237 1237 nil nil 1316 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1237 1237 1237 1425 1425 0 nil section element t nil 1237 1425 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":session oct1 :results none\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (51 64) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [1237 1237 1237 1425 1425 0 nil section element t nil 1237 1425 nil #<buffer scratch.org> nil nil (headline (:standard-properties [1207 1207 1237 1425 1425 0 ... nil element t nil 1239 1425 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [1207 1207 1237 1425 1425 0 (:title) nil element t nil 1239 1425 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [915 915 925 3848 3848 0 ... section element t nil 927 3848 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [960 960 nil nil 1126 1 nil planning element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [960 960 960 1207 1207 0 nil section element t nil 960 1207 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":results output :exports both\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (53 151) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [960 960 960 1207 1207 0 nil section element t nil 960 1207 nil #<buffer scratch.org> nil nil (headline (:standard-properties [949 949 960 1207 1207 0 ... nil element t nil 962 1207 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [949 949 960 1207 1207 0 (:title) nil element t nil 962 1207 3 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [915 915 925 3848 3848 0 ... section element t nil 927 3848 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [925 925 925 949 949 0 nil section element t nil 925 949 nil #<buffer scratch.org> nil nil (headline (:standard-properties [915 915 925 3848 3848 0 ... section element t nil 927 3848 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [915 915 925 3848 3848 0 (:title) section element t nil 927 3848 2 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (headline (:standard-properties [898 898 915 8500 8500 0 ... nil element t nil 917 8500 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil ...] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title ... t] :title [org-element-deferred org-element--headline-parse-title ... t] :level [org-element-deferred org-element--headline-parse-title ... t] :priority [org-element-deferred org-element--headline-parse-title ... t] :tags [org-element-deferred org-element--headline-parse-title ... t] :todo-keyword [org-element-deferred org-element--headline-parse-title ... t] :todo-type [org-element-deferred org-element--headline-parse-title ... t] :footnote-section-p [org-element-deferred org-element--headline-parse-title ... t] :archivedp [org-element-deferred org-element--headline-parse-title ... t] :commentedp [org-element-deferred org-element--headline-parse-title ... t]))] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(headline (:standard-properties [898 898 915 8500 8500 0 (:title) nil element t nil 917 8500 1 #<buffer scratch.org> [org-element-deferred org-element--headline-deferred nil t] nil (org-data (:standard-properties [1 1 1 11610 11610 0 nil org-data nil t nil 3 11610 nil #<buffer scratch.org> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"~/scratch.org\"))] :pre-blank 1 :raw-value [org-element-deferred org-element--headline-parse-title (t) t] :title [org-element-deferred org-element--headline-parse-title (t) t] :level [org-element-deferred org-element--headline-parse-title (t) t] :priority [org-element-deferred org-element--headline-parse-title (t) t] :tags [org-element-deferred org-element--headline-parse-title (t) t] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) t] :todo-type [org-element-deferred org-element--headline-parse-title (t) t] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) t] :archivedp [org-element-deferred org-element--headline-parse-title (t) t] :commentedp [org-element-deferred org-element--headline-parse-title (t) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(src-block (:standard-properties [710 710 nil nil 781 1 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :language \"octave\" :switches nil :parameters \":results output :exports both\" :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value [org-element-deferred org-element--unescape-substring (49 60) t]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [679 679 nil nil 710 7 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"AUTHOR\" :value \"Paul Stansell\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [656 656 nil nil 679 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"DATE\" :value \"2023-05-19 Fri\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [621 621 nil nil 656 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\pdfminorversion=9\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(drawer (:standard-properties [531 531 540 615 621 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :drawer-name \"HIDDEN\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [487 487 nil nil 531 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\setlength{\\\\parindent}{0pt}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [434 434 nil nil 487 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\setlength{\\\\parskip}{\\\\medskipamount}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [399 399 nil nil 434 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\usepackage{float}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [357 357 nil nil 399 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\usepackage[iso]{isodate}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [313 313 nil nil 357 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\usepackage[british]{babel}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [274 274 nil nil 313 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\usepackage{mathtools}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [237 237 nil nil 274 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\usepackage{amsmath}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [153 153 nil nil 237 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\usepackage[top=3cm, bottom=3cm, left=2.5cm, right=2.5cm]{geometry}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [116 116 nil nil 153 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_HEADER\" :value \"\\\\usepackage{lmodern}\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [70 70 nil nil 116 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_CLASS_OPTIONS\" :value \"[10pt,british,a4paper]\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [47 47 nil nil 70 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"LATEX_CLASS\" :value \"article\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [22 22 nil nil 47 0 nil nil element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"OPTIONS\" :value \"^:nil toc:nil\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(keyword (:standard-properties [1 1 nil nil 22 0 nil top-comment element t nil nil nil nil #<buffer scratch.org> nil nil (section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil ...]))] :key \"TITLE\" :value \"Scratch.org\"))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(section (:standard-properties [1 1 1 898 898 0 nil first-section element t nil 1 898 nil #<buffer scratch.org> nil nil (org-data (:standard-properties [1 1 1 11610 11610 0 nil org-data nil t nil 3 11610 nil #<buffer scratch.org> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"~/scratch.org\"))]))"
  org-element-cache diagnostics(scratch.org): Recovering persistent cached element: "(org-data (:standard-properties [1 1 1 11610 11610 0 nil org-data nil t nil 3 11610 nil #<buffer scratch.org> [org-element-deferred org-element--get-global-node-properties nil t] nil nil] :path \"~/scratch.org\"))"
  org-element-cache diagnostics(scratch.org): Loading persistent cache for ~/scratch.org

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-27 20:47                     ` Paul Stansell
  2024-12-28 17:17                       ` Paul Stansell
@ 2024-12-29  7:13                       ` Ihor Radchenko
  2024-12-29 13:18                         ` Paul Stansell
  1 sibling, 1 reply; 15+ messages in thread
From: Ihor Radchenko @ 2024-12-29  7:13 UTC (permalink / raw)
  To: Paul Stansell; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

Paul Stansell <paulstansell@gmail.com> writes:

>> This looks more reasonable.
>> Is this with my patch applied?
>>
>
> Yes, the patch is applied.

Ok. Then, may you try another version of the patch?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: v2-0001-org-persist-Fix-mixing-cace-data-from-multiple-Em.patch --]
[-- Type: text/x-patch, Size: 2801 bytes --]

From 13ade2328dcae881296b5d7acc4493022a8895f3 Mon Sep 17 00:00:00 2001
Message-ID: <13ade2328dcae881296b5d7acc4493022a8895f3.1735456333.git.yantar92@posteo.net>
From: Ihor Radchenko <yantar92@posteo.net>
Date: Tue, 24 Dec 2024 09:45:42 +0100
Subject: [PATCH v2] org-persist: Fix mixing cace data from multiple Emacs
 processes

* lisp/org-persist.el (org-persist--write-elisp-file): When there is a
clash with other Emacs process while writing cache data, discard the
cache to avoid any problem.
(org-persist--refresh-gc-lock):
(org-persist--gc-orphan-p): Bail out when writing fails.

Reported-by: Paul Stansell <paulstansell@gmail.com>
Link: https://orgmode.org/list/YT3PR01MB95943D4DB2E659091A2BDE8DBE2E2@YT3PR01MB9594.CANPRD01.PROD.OUTLOOK.COM
---
 lisp/org-persist.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 4ff43ad7a5..d2ceb8f90f 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -478,11 +478,12 @@ (defun org-persist--write-elisp-file (file data &optional no-circular pp)
         (start-time (float-time)))
     (unless (file-exists-p (file-name-directory file))
       (make-directory (file-name-directory file) t))
-    ;; Force writing even when the file happens to be opened by
-    ;; another Emacs process.
+    ;; Discard cache when there is a clash with other Emacs process.
+    ;; This way, we make sure that cache is never mixing data & record
+    ;; from different processes.
     (cl-letf (((symbol-function #'ask-user-about-lock)
-               ;; FIXME: Emacs 27 does not yet have `always'.
-               (lambda (&rest _) t)))
+               (lambda (&rest _)
+                 (error "Other Emacs process is writing to cache"))))
       (with-temp-file file
         (insert ";;   -*- mode: lisp-data; -*-\n")
         (if pp
@@ -1251,7 +1252,7 @@ (defun org-persist--refresh-gc-lock ()
       (when (< (- (float-time (cdr record)) (float-time (current-time)))
                org-persist-gc-lock-expiry)
         (push record new-alist)))
-    (org-persist--write-elisp-file file new-alist)))
+    (ignore-errors (org-persist--write-elisp-file file new-alist))))
 
 (defun org-persist--gc-orphan-p ()
   "Return non-nil, when orphan files should be garbage-collected.
@@ -1259,7 +1260,7 @@ (defun org-persist--gc-orphan-p ()
   (let* ((file (org-file-name-concat org-persist-directory org-persist-gc-lock-file))
          (alist (when (file-exists-p file) (org-persist--read-elisp-file file))))
     (setq alist (org-assoc-delete-all before-init-time alist))
-    (org-persist--write-elisp-file file alist)
+    (ignore-errors (org-persist--write-elisp-file file alist))
     ;; Only GC orphan files when there are no active sessions.
     (not alist)))
 
-- 
2.47.1


[-- Attachment #3: Type: text/plain, Size: 223 bytes --]


-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
  2024-12-29  7:13                       ` Ihor Radchenko
@ 2024-12-29 13:18                         ` Paul Stansell
  0 siblings, 0 replies; 15+ messages in thread
From: Paul Stansell @ 2024-12-29 13:18 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]

>
> Ok. Then, may you try another version of the patch?
>

sure, I've done it.

[-- Attachment #2: Type: text/html, Size: 327 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-12-29 13:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 21:30 [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)] Paul Stansell
2024-12-23 17:16 ` Ihor Radchenko
2024-12-23 18:02   ` Paul Stansell
2024-12-23 18:08     ` Ihor Radchenko
2024-12-23 23:33       ` Paul Stansell
2024-12-24  9:00         ` Ihor Radchenko
2024-12-27 15:27           ` Paul Stansell
2024-12-27 15:41             ` Ihor Radchenko
2024-12-27 16:56               ` Paul Stansell
2024-12-27 17:11                 ` Paul Stansell
2024-12-27 18:18                   ` Ihor Radchenko
2024-12-27 20:47                     ` Paul Stansell
2024-12-28 17:17                       ` Paul Stansell
2024-12-29  7:13                       ` Ihor Radchenko
2024-12-29 13:18                         ` Paul Stansell

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).