emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: emacs-orgmode@gnu.org
Subject: org-element-cache-warning
Date: Mon, 21 Aug 2023 10:25:10 +0200	[thread overview]
Message-ID: <87350cvm3d.fsf@no.lan> (raw)

Dear org-mode developers, Ihor, I cought an
org-element-cache warning with a rather up-to-date
emacs and org-mode while calling via a key binding this
simple function:

  (defun my/org-goto-agenda-heading ()
    (interactive)
    (org-refile '(4)))

GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2023-08-20
Org mode version 9.7-pre (release_9.6.7-709-gdd2f05 @ /home/grfz/src/org-mode/lisp/)

I hope this helps somehow.

Ciao; Gregor



 ■  Warning (org-element-cache): org-element--cache: Warning(grfz.org): (my/org-goto-agenda-heading) Cached element is incorrect in grfz.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: "(headline (:standard-properties [159509 160713 159557 160712 1 159509 (:title) t nil 159559 160710 nil element 3 (headline (:standard-properties [2550 183136 2561 183133 3 2550 ... t nil 2669 183131 nil element 1 ... nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value ... nil] :title [org-element-deferred org-element-property-2 ... nil] :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil :ARCHIVE [org-element-deferred org-element--substring ... nil] :ID [org-element-deferred org-element--substring ... nil])) nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value (4 47) nil] :title [org-element-deferred org-element-property-2 (:raw-value) nil] :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil))"
 The real element is: "(headline (:standard-properties [159509 160713 159557 160713 0 159509 (:title) nil nil 159559 160713 nil nil 3 [org-element-deferred org-element--headline-parent-deferred nil t] [org-element-deferred org-element--headline-deferred nil t] nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-parse-title (t) nil] :title [org-element-deferred org-element--headline-parse-title (t) nil] :level [org-element-deferred org-element--headline-parse-title (t) nil] :priority [org-element-deferred org-element--headline-parse-title (t) nil] :tags [org-element-deferred org-element--headline-parse-title (t) nil] :todo-keyword [org-element-deferred org-element--headline-parse-title (t) nil] :todo-type [org-element-deferred org-element--headline-parse-title (t) nil] :footnote-section-p [org-element-deferred org-element--headline-parse-title (t) nil] :archivedp [org-element-deferred org-element--headline-parse-title (t) nil] :commentedp [org-element-deferred org-element--headline-parse-title (t) nil]))"
 Cache around :begin:
"(headline (:standard-properties [158019 159509 158064 159509 0 158019 (:title) t nil 158066 159507 nil element 3 (headline (:standard-properties [2550 183136 2561 183133 3 2550 ... t nil 2669 183131 nil element 1 ... nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value ... nil] :title [org-element-deferred org-element-property-2 ... nil] :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil :ARCHIVE [org-element-deferred org-element--substring ... nil] :ID [org-element-deferred org-element--substring ... nil])) nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value (4 44) nil] :title [org-element-deferred org-element-property-2 (:raw-value) nil] :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil))"
"(headline (:standard-properties [159509 160713 159557 160712 1 159509 (:title) t nil 159559 160710 nil element 3 (headline (:standard-properties [2550 183136 2561 183133 3 2550 ... t nil 2669 183131 nil element 1 ... nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value ... nil] :title [org-element-deferred org-element-property-2 ... nil] :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil :ARCHIVE [org-element-deferred org-element--substring ... nil] :ID [org-element-deferred org-element--substring ... nil])) nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value (4 47) nil] :title [org-element-deferred org-element-property-2 (:raw-value) nil] :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil))"
"(headline (:standard-properties [160713 166380 160738 166379 1 160713 (:title) t nil 160740 166377 nil element 3 (headline (:standard-properties [2550 183136 2561 183133 3 2550 ... t nil 2669 183131 nil element 1 ... nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value ... nil] :title [org-element-deferred org-element-property-2 ... nil] :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil :ARCHIVE [org-element-deferred org-element--substring ... nil] :ID [org-element-deferred org-element--substring ... nil])) nil nil #<buffer grfz.org>] :pre-blank 0 :raw-value [org-element-deferred org-element--headline-raw-value (4 24) nil] :title [org-element-deferred org-element-property-2 (:raw-value) nil] :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :footnote-section-p [org-element-deferred org-element--headline-footnote-section-p nil nil] :archivedp [org-element-deferred org-element--headline-archivedp nil nil] :commentedp nil))"
Backtrace:
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [385 526 nil nil 3 385 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"SEQ_TODO\" :value \"TODO(t) INPROGRESS(i@/@) WAITING(w@/@) VERIFY(v@/@) | DONE(d@/@) DELEGATED(D@/@) CANCELLED(c@/@) PUTOFF(p@/@) IDEA(I) SEEN(S)\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [354 385 nil nil 0 354 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"COLUMNS\" :value \"%45ITEM %18DEADLINE\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [326 354 nil nil 0 326 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"STARTUP\" :value \"lognoteclock-out\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [301 326 nil nil 0 301 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"STARTUP\" :value \"lognoterepeat\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [278 301 nil nil 0 278 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"STARTUP\" :value \"lognotedone\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(paragraph (:standard-properties [257 278 257 278 0 257 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>]))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [231 257 nil nil 0 231 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"STARTUP\" :value \"showeverything\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(paragraph (:standard-properties [212 231 212 231 0 212 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>]))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [197 212 nil nil 0 197 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"STARTUP\" :value \"odd\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [125 197 nil nil 0 125 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"HTML_HEAD\" :value \"<link rel=\\\"stylesheet\\\" type=\\\"text/css\\\" href=\\\"style.css\\\" />\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(keyword (:standard-properties [104 125 nil nil 0 104 nil nil nil nil nil nil element nil nil nil nil #<buffer grfz.org>] :key \"STARTUP\" :value \"hidestars\"))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(paragraph (:standard-properties [1 104 1 104 0 1 nil nil nil nil nil top-comment element nil nil nil nil #<buffer grfz.org>]))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(section (:standard-properties [1 1986 1 1986 0 1 nil nil nil 1 1986 first-section element nil nil nil nil #<buffer grfz.org>]))"
  org-element-cache diagnostics(grfz.org): Added new element with nil key: "(org-data (:standard-properties [1 753211 1 753211 0 1 nil nil nil 3 753211 org-data nil nil nil [org-element-deferred org-element--get-global-node-properties nil t] nil #<buffer grfz.org>] :path \"/home/grfz/org/grfz.org\"))"
  org-element-cache diagnostics(grfz.org): Nothing in cache. Adding org-data: "(org-data (:standard-properties [1 753211 1 753211 0 1 nil nil nil 3 753211 org-data nil nil nil [org-element-deferred org-element--get-global-node-properties nil t] nil #<buffer grfz.org>] :path \"/home/grfz/org/grfz.org\"))"


             reply	other threads:[~2023-08-21  8:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21  8:25 Gregor Zattler [this message]
2023-08-21 10:27 ` org-element-cache-warning 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=87350cvm3d.fsf@no.lan \
    --to=telegraph@gmx.net \
    --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).