Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I periodically get the following error for no apparent rhyme or reason:

Warning (org-element-cache): org-element--cache: Org parser error in 
Notes.org::25724. Resetting.
 The error was: (error "Invalid search bound (wrong side of point)")
 Backtrace:
"  backtrace-to-string(nil)
  org-element-at-point()
  org-return(nil nil 1)
  funcall-interactively(org-return nil nil 1)
  command-execute(org-return)

It occurs with other commands, not just enter. It occurs randomly with
"dabbrev-expand" or just jumping to a different location. It occurs with
commands that work most of the time without issue.

Thanks for your help.

Emacs  : GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, 
cairo version 1.15.10)
 of 2024-06-30
Package: Org mode version 9.6.15 (release_9.6.15 @ 
/tmp/.mount_Emacs-NcE3UV/share/emacs/29.4/lisp/org/)

current state:
==============
(setq
 org-noter--doc-goto-location-hook '(org-noter-pdftools--doc-goto-location 
org-noter-djvu--goto-location
                                     org-noter-nov--goto-location 
org-noter-pdf--goto-location)
 org-noter--check-location-property-hook '(org-noter-pdftools--check-link)
 org-link-elisp-confirm-function 'yes-or-no-p
 org-directory "/home/john/Documents/Notes"
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn 
ENTRY)"]
 org-pdftools-get-desc-function 'org-pdftools-get-desc-default
 org-agenda-files '("~/Documents/Notes")
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-refile-targets '(("~/Document/Notes/todo.org" :maxlevel . 3))
 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-noter-pdftools-markup-pointer-function 
'pdf-annot-add-highlight-markup-annotation
 org-noter--pretty-print-location-for-title-hook 
'(org-noter-djvu--pretty-print-location
                                                   
org-noter-nov--pretty-print-location
                                                   
org-noter-pdf--pretty-print-location-for-title)
 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-noter--note-after-tipping-point-hook 
'(org-noter-pdftools--note-after-tipping-point)
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-link-from-user-regexp "\\<john@pop-os\\>\\|\\<John\\>"
 org-noter--pretty-print-highlight-location-hook 
'(org-noter-pdf--pretty-print-highlight)
 org-mode-hook '(org-pdftools-setup-link mixed-pitch-mode (lambda nil 
(org-superstar-mode 1))
                 #[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
                 #[0 "\301\211\207" [imenu-create-index-function 
org-imenu-get-tree] 2])
 org-noter--pretty-print-location-hook 
'(org-noter-pdftools--pretty-print-location 
org-noter-djvu--pretty-print-location
                                         org-noter-nov--pretty-print-location 
org-noter-pdf--pretty-print-location)
 org-confirm-shell-link-function 'yes-or-no-p
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-startup-indented t
 org-use-speed-commands t
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 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-agenda-window-setup 'other-window
 org-noter--show-arrow-hook '(org-noter-pdf--show-arrow)
 org-noter-insert-heading-hook '(org-noter-pdftools--insert-heading)
 org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
 org-noter--add-highlight-hook '(org-noter-pdf--highlight-location)
 org-noter--get-current-view-hook '(org-noter-djvu--get-current-view 
org-noter-nov--get-current-view
                                    org-noter-pdf--get-current-view)
 org-noter-set-up-document-hook '(org-noter-djvu--setup-handler 
org-noter-nov--setup-handler
                                  org-noter-pdf--doc-view-setup-handler 
org-noter-pdf--pdf-view-setup-handler)
 org-noter--get-containing-element-hook '(org-noter--get-containing-heading 
org-noter--get-containing-property-drawer)
 org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
 org-pdftools-markup-pointer-function 'pdf-annot-add-underline-markup-annotation
 org-noter--convert-to-location-cons-hook 
'(org-noter-pdftools--convert-to-location-cons
                                            
org-noter-pdf--convert-to-location-cons)
 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-link-shell-confirm-function 'yes-or-no-p
 org-babel-pre-tangle-hook '(save-buffer)
 org-agenda-loop-over-headlines-in-active-region nil
 org-fontify-quote-and-verse-blocks t
 org-cite-global-bibliography 
'("/home/john/Documents/Notes/Book/Bibliography/myBib.bib")
 org-noter--get-precise-info-hook '(org-noter-pdftools--get-precise-info 
org-noter-djvu--get-precise-info
                                    org-noter-nov--get-precise-info 
org-noter-pdf--doc-view-get-precise-info
                                    org-noter-pdf--pdf-view-get-precise-info)
 org-noter--parse-location-property-hook '(org-noter-pdftools--parse-link)
 org-noter--get-highlight-location-hook '(org-noter-pdf--get-highlight)
 org-occur-hook '(org-first-headline-recenter)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-noter--doc-approx-location-hook '(org-noter-pdftools--doc-approx-location 
org-noter-djvu--approx-location-cons
                                       org-noter-nov--approx-location-cons 
org-noter-pdf--approx-location-cons)
 org-link-parameters '(("pdf" :follow org-pdftools-open :complete 
org-pdftools-complete-link :store org-pdftools-store-link
                        :export org-pdftools-export)
                       ("attachment" :follow org-attach-follow :complete 
org-attach-complete-link)
                       ("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)
                       ("nov" :follow nov-org-link-follow :store 
nov-org-link-store) ("id" :follow org-id-open) ("file+sys")
                       ("file+emacs") ("shell" :follow org-link--open-shell)
                       ("news" :follow #[514 "\301\300\302Q\"\207" ["news" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("https" :follow #[514 "\301\300\302Q\"\207" ["https" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("http" :follow #[514 "\301\300\302Q\"\207" ["http" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("ftp" :follow #[514 "\301\300\302Q\"\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-noter-get-buffer-file-name-hook '(org-noter-nov--get-buffer-file-name 
org-noter-pdf--get-buffer-file-name)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-refile-allow-creating-parent-nodes t
 org-noter-get-selected-text-hook '(org-noter-djvu--get-selected-text 
org-noter-nov--get-selected-text
                                    org-noter-pdf--get-selected-text)
 org-agenda-restore-windows-after-quit t
 org-noter-create-session-from-document-hook 
'(org-noter--create-session-from-document-file-default)
 org-agenda-remove-tags t
 org-noter--relative-position-to-view-hook 
'(org-noter-pdftools--relative-position-to-view)
 org-noter-create-skeleton-functions '(org-noter-djvu--create-skeleton 
org-noter-nov--create-skeleton-epub
                                       org-noter-pdf--create-skeleton)
 )

Reply via email to