emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Org element cache error in indirect buffer [9.6.15 (release_9.6.15 @ c:/Users/User/Downloads/emacs-master-x86_64-full/share/emacs/30.0.50/lisp/org/)]
@ 2024-07-09  8:38 Matthew Clarke
  2024-07-09 18:54 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Clarke @ 2024-07-09  8:38 UTC (permalink / raw)
  To: emacs-orgmode

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

When using an indirect buffer I get the warning

Warning (org-element-cache): org-element--cache: Org parser error in
PIBBSS.org<2>::488418. Resetting.
 The error was: (error "Invalid search bound (wrong side of point)")
 Backtrace:
"  backtrace-to-string(nil)
  org-element-at-point(488418)
  org-element-cache-map(#f(compiled-function (el) #<bytecode
0x84291860d42dfa5>))
  org-get-buffer-tags()
  org-set-tags-command(nil)
  funcall-interactively(org-set-tags-command nil)
  command-execute(org-set-tags-command)
"

I am also experiencing, in indirect buffers, the inability to unfold
org-headings, and problems where rearranging them leaves sub-headings
behind, which may be related

Best wishes,

Matthew Clarke


Emacs  : GNU Emacs 30.0.50 (build 1, x86_64-w64-mingw32)
Package: Org mode version 9.6.15 (release_9.6.15 @
c:/Users/User/Downloads/emacs-master-x86_64-full/share/emacs/30.0.50/lisp/org/)

current state:
==============
(setq
 org-refile-target-verify-function 'my/verify-refile-target
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 org-habit-show-habits-only-for-today nil
 org-html-format-headline-function
'org-html-format-headline-default-function
 org-reveal-start-hook '(org-decrypt-entry)
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-deadline-warning-days 30
 org-refile-allow-creating-parent-nodes 'confirm
 org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
 org-agenda-custom-commands '(("c" "Super Agenda" agenda
(org-super-agenda-mode)
      ((org-super-agenda-groups
'((:name "Meetings" :time-grid t) (:name "Due today" :deadline today)
(:name "Overdue" :deadline past)
  (:name "Due soon" :deadline future) (:name "Next Items" :todo ("NEXT"))
  (:name "Done" :todo "DONE" :order 9) (:name "Today" :tag "today")
  (:name "In progress" :todo "IN-PROGRESS") (:name "Project" :tag "project")
  (:name "Important" :priority "A") (:name "Scheduled earlier" :scheduled
past) (:name "Habits" :habit t)
  (:name "Low priority" :priority "C" :face (:foreground "gray"))
  (:name "Other TODO" :todo "TODO" :order 8))
)
)
      (org-agenda nil "a"))
     )
 org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-fold-catch-invisible-edits 'error
 org-confirm-elisp-link-function 'yes-or-no-p
 org-journal-mode-hook '(turn-on-visual-line-mode
org-journal-default-enable-encryption)
 org-log-done t
 org-latex-format-headline-function
'org-latex-format-headline-default-function
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-mode-hook '(er/add-org-mode-expansions remove-electric-indent-mode
#[0 "\301\211 \207" [imenu-create-index-function org-imenu-get-tree] 2]
my-org-mode-hook visual-line-mode
#[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-hierarchical-todo-statistics nil
 org-capture-templates '(("t" "TODO" entry (file
"c:/Users/User/Documents/Github/Log/Refile.org") "* TODO %? \n"
:empty-lines 1)
("s" "Scheduled TODO" entry (file
"c:/Users/User//Documents/Github/Log/Refile.org")
 "* TODO %? \nSCHEDULED: %^t\n" :empty-lines 1)
("d" "Deadline" entry (file
"c:/Users/User//Documents/Github/Log/Refile.org") "* TODO %? \n  DEADLINE:
%^t"
 :empty-lines 1)
("p" "Priority" entry (file
"c:/Users/User//Documents/Github/Log/Refile.org") "* TODO [#A] %? \n
 SCHEDULED: %^t")
("a" "Appointment" entry (file
"c:/Users/User//Documents/Github/Log/Refile.org") "* %? \n  %^t")
("l" "Link" entry (file "c:/Users/User//Documents/Github/Log/Refile.org")
 "* TODO %a %?\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t
\"+0d\"))\n")
("n" "Note" entry (file "c:/Users/User//Documents/Github/Log/Refile.org")
"* %?\n" :empty-lines 1)
("r" "Repeating Meeting" entry (file
"c:/Users/User//Documents/Github/Log/Refile.org")
 "* [/] %^{Name of Job} %^{Date of meeting}t \n** TODO Actual \n** TODO [/]
Prep \nSCHEDULED: %^{Date of prep}t\n*** TODO Get old and next qs \n** TODO
[/] Qs \n** TODO [/] Tasks - %\\1 :triage: \nSCHEDULED: %^{Date of
tasks}t\n" :empty-lines 1)
("j" "Job application" entry (file
"c:/Users/User//Documents/Github/Log/Refile.org")
 "* TODO [/] %^{Name of Job} :project: \nSCHEDULED: %^{Schedule}t DEADLINE:
%^{Deadline}t\n** Website: %^{Website} \n** TODO [/] Prep \n*** TODO What
docs needed" :empty-lines 1)
)
 org-refile-targets '((org-agenda-files :maxlevel . 12))
 org-confirm-shell-link-function 'yes-or-no-p
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-super-agenda-mode t
 org-journal-encrypt-journal t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-refile-use-cache t
 org-occur-hook '(org-first-headline-recenter)
 org-enforce-todo-dependencies t
 org-babel-R-command "C:/Progra~1/R/R-4.0.5/bin/R --slave --no-save"
 org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
 org-table-convert-region-max-lines 2999
 org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS
WIDTH)"]
 org-fold-reveal-start-hook '(org-decrypt-entry)
 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-refile-use-outline-path t
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-export-backends '(ascii html odt latex md)
 org-startup-folded t
 org-babel-pre-tangle-hook '(save-buffer)
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-link-shell-confirm-function 'yes-or-no-p
 org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
 org-tags-exclude-from-inheritance '("project")
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}"
("\\section{%s}" . "\\section*{%s}")
     ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
"\\subsubsection*{%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-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-agenda-span 1
 org-fold-core-style 'overlays
 org-babel-load-languages '((R . t))
 org-modules '(org-habit)
 org-agenda-loop-over-headlines-in-active-region nil
 org-agenda-files '("c:/Users/User/Documents/GitHub/Log/LabMeet&Jclub.org"
"c:/Users/User/Documents/GitHub/Log/ALPHACLOCK.org"
   "c:/Users/User/Documents/GitHub/Log/PaperstoFile.org"
"c:/Users/User/Documents/GitHub/Log/Refile.org"
   "c:/Users/User/Documents/GitHub/Log/ProjectIdeas.org"
"c:/Users/User/Documents/GitHub/Log/PeerReviews.org"
   "c:/Users/User/Documents/GitHub/Log/Moving.org"
"c:/Users/User/Documents/GitHub/Log/postdoc.org"
   "c:/Users/User/Documents/GitHub/Log/Conferences.org"
   "c:/Users/User/Documents/GitHub/Log/Contingencies.org"
    "c:/Users/User/Documents/GitHub/Log/BATCH.org"
   "c:/Users/User/Documents/GitHub/Log/Viva.org"
"c:/Users/User/Documents/GitHub/Log/Lung.org"
   "c:/Users/User/Documents/GitHub/Log/Order.org"
"c:/Users/User/Documents/GitHub/Log/Thesis.org"
   "c:/Users/User/Documents/GitHub/Log/Work.org")
 org-link-elisp-confirm-function 'yes-or-no-p
 org-outline-path-complete-in-steps nil
 org-startup-indented t
 org-odt-format-inlinetask-function
'org-odt-format-inlinetask-default-function
 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-journal-dir "c:/Users/User/Documents/Github/journal/"
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-agenda-dim-blocked-tasks nil
 )

-- 

Research Fellow

Jasmin Fisher Laboratory

UCL Cancer Institute

University College London, 72 Huntley Street
<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.google.com%2Fmaps%2Fsearch%2F72%2BHuntley%2BStreet%2B%2C%2BLondon%2C%2BWC1E%2B6BT%3Fentry%3Dgmail%26source%3Dg&data=04%7C01%7C%7C49df968178154391ecb408d89b010534%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C0%7C637429775973413859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uudgfgw5bhBBye1ir9uHK4GKMpR0YdC8Oxz7S66bPvk%3D&reserved=0>,
London, WC1E 6BT
<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.google.com%2Fmaps%2Fsearch%2F72%2BHuntley%2BStreet%2B%2C%2BLondon%2C%2BWC1E%2B6BT%3Fentry%3Dgmail%26source%3Dg&data=04%7C01%7C%7C49df968178154391ecb408d89b010534%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C0%7C637429775973423851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3eA12x11jRkeJH%2FUYEhNhOsoogjPBPuPblw9Tsw2Khg%3D&reserved=0>


Lab website <https://www.ucl.ac.uk/cancer/fisher-lab>    Personal website
<https://mclarke1991.github.io/>    Linkedin
<https://www.linkedin.com/in/matthew-alan-clarke/>

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

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

* Re: [BUG] Org element cache error in indirect buffer [9.6.15 (release_9.6.15 @ c:/Users/User/Downloads/emacs-master-x86_64-full/share/emacs/30.0.50/lisp/org/)]
  2024-07-09  8:38 [BUG] Org element cache error in indirect buffer [9.6.15 (release_9.6.15 @ c:/Users/User/Downloads/emacs-master-x86_64-full/share/emacs/30.0.50/lisp/org/)] Matthew Clarke
@ 2024-07-09 18:54 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-07-09 18:54 UTC (permalink / raw)
  To: Matthew Clarke; +Cc: emacs-orgmode

Matthew Clarke <matthew.a.clarke1991@gmail.com> writes:

> When using an indirect buffer I get the warning
> ...
> Warning (org-element-cache): org-element--cache: Org parser error in
> PIBBSS.org<2>::488418. Resetting.
> ...
> I am also experiencing, in indirect buffers, the inability to unfold
> org-headings, and problems where rearranging them leaves sub-headings
> behind, which may be related

Please upgrade to Org 9.7 and let us know if you stop seeing problems
with indirect buffers.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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] 2+ messages in thread

end of thread, other threads:[~2024-07-09 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09  8:38 [BUG] Org element cache error in indirect buffer [9.6.15 (release_9.6.15 @ c:/Users/User/Downloads/emacs-master-x86_64-full/share/emacs/30.0.50/lisp/org/)] Matthew Clarke
2024-07-09 18:54 ` Ihor Radchenko

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).