From: Vladimir Alexiev <vladimir.alexiev@ontotext.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-element-cache warnings [9.6.1 ( @ d:/.emacs.d/elpa/org-9.6.1/)]
Date: Mon, 10 Apr 2023 15:29:11 +0300 [thread overview]
Message-ID: <CAMv+wg6w2nFLrz9-+oQxm_0UVoH=HBRr-BtPKKx8siF3AfsrwA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 15461 bytes --]
When I save a particular file
https://github.com/Accord-Project/bsdd/blob/main/README-bug.org,
I get this warning (and request to post a bug):
Warning (org-element-cache): org-element--cache: Org parser error in
README.org::1092. Resetting.
The error was: (error "Invalid search bound (wrong side of point)")
Backtrace:
nil
In another case when I am at line:col 1578:93 and save, I get this warning:
Warning (org-element-cache): org-element--cache: (save-buffer) Cached
element is incorrect in README.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: "(paragraph (:begin 1 :end 14 :contents-begin 1
:contents-end 14 :post-blank 0 :post-affiliated 1 :mode top-comment
:granularity element :cached t :parent (section (:begin 1 :end 14
:contents-begin 1 :contents-end 14 :robust-begin 1 :robust-end 12
:post-blank 0 :post-affiliated 1 :mode first-section :granularity element
:cached t :parent (org-data ...)))))"
The real element is: "(keyword (:key \"OPTIONS\" :value \"':nil *:t -:t
::t <:t H:5 \\\\n:nil ^:{} arch:headline author:t\" :begin 1 :end 73
:post-blank 0 :post-affiliated 1 :mode top-comment :granularity element
:parent (section (:begin 1 :end 981 :contents-begin 1 :contents-end 980
:robust-begin 1 :robust-end 978 :post-blank 1 :post-affiliated 1 :mode
first-section :granularity element :parent (org-data ...)))))"
Cache around :begin:
nil
(paragraph (:begin 1 :end 14 :contents-begin 1 :contents-end 14 :post-blank
0 :post-affiliated 1 :mode top-comment :granularity element :cached t
:parent (section (:begin 1 :end 14 :contents-begin 1 :contents-end 14
:robust-begin 1 :robust-end 12 :post-blank 0 :post-affiliated 1 :mode
first-section :granularity element :cached t :parent (org-data (:begin 1
:contents-begin 1 :contents-end 14 :end 14 :robust-begin 3 :robust-end 12
:post-blank 0 :post-affiliated 1 :path nil :mode org-data :CATEGORY nil
:cached t))))))
Emacs : GNU Emacs 28.1 (build 52, x86_64-w64-mingw32)
of 2022-04-04
Package: Org mode version 9.6.1 ( @ d:/.emacs.d/elpa/org-9.6.1/)
current state: (two hook values simplified rather than showing bytecode)
==============
(setq
org-html-with-latex nil
org-link-elisp-confirm-function 'yes-or-no-p
org-hierarchical-todo-statistics nil
org-export-with-sub-superscripts '{}
org-yank-adjusted-subtrees t
org-agenda-custom-commands nil
org-startup-folded "showeverything"
org-babel-after-execute-hook '(va/org-babel-after-execute-hook)
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-export-before-parsing-hook '(org-attach-expand-links)
org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-archive-hook '(org-attach-archive-delete-maybe)
org-html-postamble t
org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-show-empty-lines
org-cycle-optimize-window-after-visibility-change
org-cycle-display-inline-images)
org-latex-listings-options '(("basicstyle" "\\footnotesize\\ttfamily")
("frame" "single")
("showstringspaces" "false"))
org-startup-numerated t
org-persist-before-read-hook '(org-element--cache-persist-before-read)
org-modules '(org-attach org-crypt org-entities org-id org-mouse
org-protocol org-tempo)
org-link-from-user-regexp "\\<Vladimir Alexiev@VLADO\\>"
org-image-actual-width '(500)
org-export-use-babel nil
org-mode-hook '(#f(compiled-function
()
#<bytecode 0x208ea51b4bc9d8>)
org-tempo-setup #f(compiled-function
()
#<bytecode 0x9f3c240dfaa94b8>)
my-orgtbl-mode-hook #f(compiled-function
()
#<bytecode -0x1b39b68fa5140b95>)
#f(compiled-function
()
#<bytecode -0x1b39b68f674db795>)
org-babel-result-hide-spec org-babel-hide-all-hashes va/org-mode-hook)
org-babel-load-languages '((emacs-lisp . t) (ditaa . t) (dot . t) (perl .
t) (plantuml . t) (salt . t)
(shell . t) (sparql . t))
org-export-headline-levels 5
org-highlight-links '(bracket angle plain radio footnote)
org-latex-default-figure-position "!htpb"
org-html-head "<style> #content {max-width: 120em; margin: auto}
h1,h2,h3,h4,h5,h6,h7 {font-family: Arial} .author, .date, .creator
{-webkit-margin-before: 0em; -webkit-margin-after: 0em} .abstract {margin:
1em; padding: 1em; border: 1px solid black} .abstract:before {content:
'Abstract: '; font-weight: bold} #preamble p {font-size: 110%%;
margin-left: auto; margin-right: auto; text-align: center} th.org-left
{text-align:left} th.org-right {text-align:right} th.org-center
{text-align:center} th, td {line-height: 1em; border-width: 1px;
border-style: solid solid; border-spacing: 2px 2px; padding: 2px 1px}
.CANCELED {color: blue} .MAYBE {color: blue} .POSTPONED {color: blue} .SAME
{color: blue} .APPLIED {color: orange} .FOLLOW {color: orange} .INPROGRESS
{color: orange} .NEXT {color: orange} .IER {color: orange}.underline
{text-decoration:underline} </style>"
org-export-allow-bind-keywords t
org-reveal-extra-js "{src:
'../../reveal.js-tagcloud-plugin/tagcloud/tagcloud.js', async: true,
condition: function() {return !!document.body.classList}}"
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-reveal-head-preamble "<style> #content {max-width: 120em; margin:
auto} h1,h2,h3,h4,h5,h6,h7 {font-family: Arial} .author, .date, .creator
{-webkit-margin-before: 0em; -webkit-margin-after: 0em} .abstract {margin:
1em; padding: 1em; border: 1px solid black} .abstract:before {content:
'Abstract: '; font-weight: bold} #preamble p {font-size: 110%%;
margin-left: auto; margin-right: auto; text-align: center} th.org-left
{text-align:left} th.org-right {text-align:right} th.org-center
{text-align:center} th, td {line-height: 1em; border-width: 1px;
border-style: solid solid; border-spacing: 2px 2px; padding: 2px 1px}
.CANCELED {color: blue} .MAYBE {color: blue} .POSTPONED {color: blue} .SAME
{color: blue} .APPLIED {color: orange} .FOLLOW {color: orange} .INPROGRESS
{color: orange} .NEXT {color: orange} .IER {color: orange}.underline
{text-decoration:underline} </style><style>.reveal .slides
{text-align:left} h1,h2,h3,h4,h5,h6,.center {text-align:center} img,table
{display: block; margin-left:auto!important; margin-right:auto!important}
td>img {width:250px; display:block; margin-left:auto!important;
margin-right:auto!important; margin-top:0px!important;
margin-bottom:0px!important} .reveal section img {border:none} .reveal th,
.reveal td {font-size:70%%; border: 1px; border-style: solid solid;
border-spacing:0; padding:0px 2px} .print-pdf .stretch {max-width:100%%}
span.clouditem {padding-left: 0.15em; padding-right: 0.15em; line-height:
90%%} #table-of-contents {font-size:75%%} </style>"
org-latex-format-headline-function
'org-latex-format-headline-default-function
org-reveal-root "../../reveal.js"
org-confirm-shell-link-function 'yes-or-no-p
org-reveal-start-hook '(org-decrypt-entry)
org-present-mode-hook '(my-org-present-mode-hook)
org-present-mode-quit-hook '(my-org-present-mode-quit-hook)
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
outline-isearch-open-invisible-function 'outline-isearch-open-invisible
org-use-sub-superscripts '{}
org-plain-list-ordered-item-terminator 46
org-export-time-stamp-file nil
org-startup-indented t
org-latex-classes '(("ldbc-part" "\\documentclass[11pt]{report}"
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("llncs" "\\documentclass[11pt]{llncs}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("koma-article" "\\documentclass[11pt]{scrartcl}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("article" "\\documentclass[11pt]{article}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("report" "\\documentclass[11pt]{report}"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}"
. "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("book" "\\documentclass[11pt]{book}" ("\\part{%s}" .
"\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}"
. "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
)
org-plantuml-jar-path "/prog/plantuml/plantuml.jar"
org-protocol-protocol-alist '(("org-store-link" :protocol "store-link"
:function va/org-protocol-store-link
:kill-client nil)
)
org-html-table-default-attributes '(:border "1" :cellspacing "0"
:cellpadding "2" :rules "all" :frame "box")
org-agenda-mode-hook '(#f(compiled-function
()
#<bytecode -0x74e75f7fdcdae69>))
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-latex-packages-alist '(("" "listings"))
org-entities-user '(("ok" nil nil "<font color='green'>✔</font>"
"OK" "OK" "✔")
("nok" nil nil "<font color='red'>✘</font>"
"NOK" "NOK" "✘")
("c" nil nil "©" "(C)" "©" "©") ("tm" nil nil
"™" "TM" "™" "™"))
org-babel-tangle-lang-exts '(("perl" . "pl") ("emacs-lisp" . "el")
("elisp" . "el"))
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-confirm-elisp-link-function 'yes-or-no-p
org-latex-src-block-backend t
org-cycle-separator-lines 1
org-special-ctrl-k t
org-clock-idle-time 15
org-todo-keywords '((sequence "TODO" "|" "DONE" "CANCELED"))
org-structure-template-alist '(("ee" . "export") ("ea" . "export ascii")
("eh" . "export html")
("el" . "export latex") ("s" . "src") ("4"
. "src m4")
("d" . "src dot :file ./img/TODO.png") ("g"
. "src graphql")
("j" . "src json") ("p" . "src perl") ("S"
. "src sparql")
("t" . "src turtle") ("u" . "src plantuml
:file ./img/TODO.png")
("x" . "src shexc") ("y" . "src yaml") ("a"
. "abstract") ("c" . "center")
("C" . "comment") ("e" . "example") ("n" .
"notes") ("q" . "quote")
("V" . "verbatim") ("v" . "verse"))
org-pretty-entities t
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
org-html-postamble-format '(("en" "<p class=\"creator\">Exported by
%c</p>\n<p class=\"validation\">%v</p>"))
org-pretty-entities-include-sub-superscripts nil
org-html-metadata-timestamp-format "%Y-%m-%d"
org-export-backends '(html rst gfm latex reveal)
org-confirm-babel-evaluate 'va/org-confirm-babel-evaluate
org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
org-html-preamble-format '(("en" "<p class=\"author\">Author: %a
(%e)</p>\n<p class=\"date\">Date: %d</p>"))
org-clock-persist t
org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
org-persist-before-write-hook '(org-element--cache-persist-before-write)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-export-with-toc 5
org-link-shell-confirm-function 'yes-or-no-p
org-babel-pre-tangle-hook '(save-buffer)
org-use-tag-inheritance nil
org-agenda-loop-over-headlines-in-active-region nil
org-todo-keyword-faces '(("CANCELED" . "blue") ("MAYBE" . "blue")
("POSTPONED" . "blue") ("SAME" . "blue")
("APPLIED" . "orange") ("FOLLOW" . "orange")
("INPROGRESS" . "orange")
("NEXT" . "orange") ("IER" . "orange"))
org-fold-reveal-start-hook '(org-decrypt-entry)
org-occur-hook '(org-first-headline-recenter)
org-latex-image-default-width ""
org-metadown-hook '(org-babel-pop-to-session-maybe)
outline-minor-mode-prefix " "
org-link-parameters '(("attachment" :follow org-attach-follow :complete
org-attach-complete-link)
("id" :follow org-id-open) ("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) ("elisp"
:follow org-link--open-elisp))
org-html-format-headline-function
'org-html-format-headline-default-function
org-metaup-hook '(org-babel-load-in-session-maybe)
org-open-non-existing-files t
org-export-date-timestamp-format "%d %Mmm %y"
org-num-format-function 'org-num-default-format
org-imenu-depth 200
org-footnote-define-inline t
org-reveal-theme "solarized"
org-special-ctrl-a/e t
org-fast-tag-selection-single-key t
org-src-lang-modes '(("elisp" . emacs-lisp) ("ditaa" . artist) ("perl" .
cperl) ("dot" . graphviz-dot)
("sqlite" . sql) ("shell" . sh) ("bash" . sh)
("turtle" . Turtle) ("sparql" . sparql)
("shex" . shex) ("shacl" . Turtle) ("shaclc" .
SHACLC))
org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
org-babel-results-keyword "results"
org-cycle-global-at-bob t
org-mouse-features '(context-menu move-tree yank-link activate-stars
activate-bullets activate-checkboxes)
)
[-- Attachment #2: Type: text/html, Size: 19955 bytes --]
next reply other threads:[~2023-04-10 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-10 12:29 Vladimir Alexiev [this message]
2023-04-10 12:38 ` [BUG] org-element-cache warnings [9.6.1 ( @ d:/.emacs.d/elpa/org-9.6.1/)] Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMv+wg6w2nFLrz9-+oQxm_0UVoH=HBRr-BtPKKx8siF3AfsrwA@mail.gmail.com' \
--to=vladimir.alexiev@ontotext.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).