Skip to content

Instantly share code, notes, and snippets.

@stefan2904
Created December 15, 2022 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefan2904/688afdc2ebfeece8e0fa19a24d9ca321 to your computer and use it in GitHub Desktop.
Save stefan2904/688afdc2ebfeece8e0fa19a24d9ca321 to your computer and use it in GitHub Desktop.
Cached element is incorrect in Media.org, with (org-startup-align-all-tables t)

Heading 1

Test
test

some task so agenda is not bored

Warning (org-element-cache): org-element--cache: Warning(Media.org): (org-agenda) Cached element is incorrect in Media.org. (Cache tic up to date: "no") 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: "(table (:begin 14 :end 35 :type org :tblfm nil :contents-begin 14 :contents-end 33 :value nil :post-blank 2 :post-affiliated 14 :mode planning :granularity element :cached t :parent (section (:begin 14 :end 35 :contents-begin 14 :contents-end 33 :robust-begin 14 :robust-end 31 :post-blank 2 :post-affiliated 14 :mode section :granularity element :cached t :parent (headline ...)))))"
The real element is: "(table (:begin 14 :end 34 :type org :tblfm nil :contents-begin 14 :contents-end 32 :value nil :post-blank 2 :post-affiliated 14 :mode planning :granularity element :parent (section (:begin 14 :end 34 :contents-begin 14 :contents-end 32 :robust-begin 14 :robust-end 30 :post-blank 2 :post-affiliated 14 :mode section :granularity element :parent (headline ...)))))"
Cache around :begin:
(headline (:raw-value "Heading 1" :begin 1 :end 76 :pre-blank 1 :contents-begin 14 :contents-end 76 :robust-begin 16 :robust-end 74 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :title "Heading 1" :mode first-section :granularity element :cached t :parent (org-data (:begin 1 :contents-begin 1 :contents-end 76 :end 76 :robust-begin 3 :robust-end 74 :post-blank 0 :post-affiliated 1 :path "/home/stefan/PRIVATE/journal/org/Media.org" :mode org-data :CATEGORY "Media" :cached t))))
(table-row (:type standard :begin 14 :end 23 :contents-begin 15 :contents-end 22 :post-blank 0 :post-affiliated 14 :mode table-row :granularity element :cached t :parent (table (:begin 14 :end 35 :type org :tblfm nil :contents-begin 14 :contents-end 33 :value nil :post-blank 2 :post-affiliated 14 :mode planning :granularity element :cached t :parent (section (:begin 14 :end 35 :contents-begin 14 :contents-end 33 :robust-begin 14 :robust-end 31 :post-blank 2 :post-affiliated 14 :mode section :granularity element :cached t :parent (headline (:raw-value "Heading 1" :begin 1 :end 76 :pre-blank 1 :contents-begin 14 :contents-end 76 :robust-begin 16 :robust-end 74 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :title "Heading 1" :mode first-section :granularity element :cached t :parent (org-data (:begin 1 :contents-begin 1 :contents-end 76 :end 76 :robust-begin 3 :robust-end 74 :post-blank 0 :post-affiliated 1 :path "/home/stefan/PRIVATE/journal/org/Media.org" :mode org-data :CATEGORY "Media" :cached t))))))))))
nil
Backtrace:
org-element-cache diagnostics(Media.org): Added new element with nil key: "(table-row (:type standard :begin 14 :end 23 :contents-begin 15 :contents-end 22 :post-blank 0 :post-affiliated 14 :mode table-row :granularity element))"
org-element-cache diagnostics(Media.org): Added new element with nil key: "(table (:begin 14 :end 35 :type org :tblfm nil :contents-begin 14 :contents-end 33 :value nil :post-blank 2 :post-affiliated 14 :mode planning :granularity element))"
org-element-cache diagnostics(Media.org): Added new element with nil key: "(section (:begin 14 :end 35 :contents-begin 14 :contents-end 33 :robust-begin 14 :robust-end 31 :post-blank 2 :post-affiliated 14 :mode section :granularity element))"
org-element-cache diagnostics(Media.org): Added new element with nil key: "(headline (:raw-value \"Heading 1\" :begin 1 :end 76 :pre-blank 1 :contents-begin 14 :contents-end 76 :robust-begin 16 :robust-end 74 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :title \"Heading 1\" :mode first-section :granularity element))"
org-element-cache diagnostics(Media.org): Added new element with nil key: "(org-data (:begin 1 :contents-begin 1 :contents-end 76 :end 76 :robust-begin 3 :robust-end 74 :post-blank 0 :post-affiliated 1 :path \"/home/stefan/PRIVATE/journal/org/Media.org\" :mode org-data :CATEGORY \"Media\"))"
org-element-cache diagnostics(Media.org): Nothing in cache. Adding org-data: "(org-data (:begin 1 :contents-begin 1 :contents-end 76 :end 76 :robust-begin 3 :robust-end 74 :post-blank 0 :post-affiliated 1 :path \"/home/stefan/PRIVATE/journal/org/Media.org\" :mode org-data :CATEGORY \"Media\"))" Disable showing Disable logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment