* [BUG] Invalid search bound (wrong side of point) [9.6.25 ( @ /Users/cchoi/.config/emacs/elpa/org-9.6.25/)]
@ 2024-04-11 23:47 Charles Choi
2024-04-15 13:49 ` Ihor Radchenko
0 siblings, 1 reply; 3+ messages in thread
From: Charles Choi @ 2024-04-11 23:47 UTC (permalink / raw)
To: emacs-orgmode
Hi folks -
Got this warning when running Org Agenda, thought I'd report it in.
⛔ Warning (org-element-cache): org-element--cache: Org parser error in 2024_04_07.org::#<marker at 886 in 2024_04_07.org>. Resetting.
The error was: (error "Invalid search bound (wrong side of point)")
Backtrace:
" backtrace-to-string(nil)
org-element-at-point(#<marker at 886 in 2024_04_07.org>)
org-element-cache-map(#f(compiled-function (el) #<bytecode -0x18e5d4524210d9d5>) :next-re \"\\\\<DEADLINE: *<\\\\([^>]+\\\\)>\" :fail-re \"\\\\<DEADLINE: *<\\\\([^>]+\\\\)>\" :narrow t)
org-agenda-get-deadlines()
org-agenda-get-day-entries(\"/Users/cchoi/org/2024_04_07.org\" (4 8 2024) :closed :deadline :scheduled :timestamp :sexp)
apply(org-agenda-get-day-entries \"/Users/cchoi/org/2024_04_07.org\" (4 8 2024) (:closed :deadline :scheduled :timestamp :sexp))
org-agenda-list(nil)
funcall-interactively(org-agenda-list nil)
call-interactively(org-agenda-list)
#f(compiled-function () #<bytecode -0x84dce1cf4b5a59a>)()
funcall(#f(compiled-function () #<bytecode -0x84dce1cf4b5a59a>))
(let nil (funcall '#f(compiled-function () #<bytecode -0x84dce1cf4b5a59a>)))
org-agenda-run-series(\"Agenda and all TODOs\" (((agenda \"\") (alltodo \"\"))))
org-agenda(nil \"n\")
menu-function-91()
funcall-interactively(menu-function-91)
popup-menu((keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (down-mouse-3 ...))
mac-mouse-context-menu((down-mouse-3 (#<window 3 on 2024_04_11.org> 765 (788 . 626) 741232365 nil 765 (87 . 16) nil (788 . 182) (6 . 26))))
funcall-interactively(mac-mouse-context-menu (down-mouse-3 (#<window 3 on 2024_04_11.org> 765 (788 . 626) 741232365 nil 765 (87 . 16) nil (788 . 182) (6 . 26))))
command-execute(mac-mouse-context-menu)
"
Please report this to Org mode mailing list (M-x org-submit-bug-report).
-----
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.
------------------------------------------------------------------------
Emacs : GNU Emacs 29.3 (build 1, aarch64-apple-darwin23.2.0, Carbon Version 170 AppKit 2487.3)
of 2024-04-10
Package: Org mode version 9.6.25 ( @ /Users/cchoi/.config/emacs/elpa/org-9.6.25/)
current state:
==============
(setq
org-link-elisp-confirm-function 'yes-or-no-p
org-hide-emphasis-markers t
org-bibtex-headline-format-function #[257 "\300\x01\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
org-export-with-sub-superscripts '{}
org-log-done 'time
org-show-notification-handler 'cc/display-notification
org-babel-after-execute-hook '(org-redisplay-inline-images)
org-agenda-files '("~/org/")
org-publish-project-alist '(("pages" :base-directory "~/Projects/Captee/Development/Captee/docs/help" :base-extension "org" :recursive t :publishing-directory
"~/Projects/Captee/Development/Captee/Captee.help/Contents/Resources/en.lproj" :publishing-function org-html-publish-to-html)
("static" :base-directory "~/Projects/Captee/Development/Captee/docs/help" :base-extension
"css\\|txt\\|jpg\\|gif\\|png\\|svg\\|helpindex\\|cshelpindex" :recursive t :publishing-directory
"~/Projects/Captee/Development/Captee/Captee.help/Contents/Resources/en.lproj" :publishing-function org-publish-attachment)
("captee-help-book" :components ("pages" "static")))
org-capture-templates '(("a" "Appointment" entry (file+function cc/--current-org-default-notes-file cc/--find-capture-point-in-current)
"* %^{description}\n%^T\n:PROPERTIES:\n:CREATED: %U\n:END:\n%?" :empty-lines 1 :doct
(:doct-name "Appointment" :keys "a" :type entry :file cc/--current-org-default-notes-file :function cc/--find-capture-point-in-current
:empty-lines 1 :template ("* %^{description}" "%^T" ":PROPERTIES:" ":CREATED: %U" ":END:" "%?"))
)
("b" "BeOrg TODO" entry (file "~/org/refile-beorg.org") "* TODO %^{description}\nSCHEDULED: %^T\n:PROPERTIES:\n:CREATED: %U\n:END:\n%?"
:empty-lines 1 :doct
(:doct-name "BeOrg TODO" :keys "b" :type entry :file "~/org/refile-beorg.org" :empty-lines 1 :template
("* TODO %^{description}" "SCHEDULED: %^T" ":PROPERTIES:" ":CREATED: %U" ":END:" "%?"))
)
("s" "TODO: Scheduled" entry (file+function cc/--current-org-default-notes-file cc/--find-capture-point-in-current)
"* TODO %^{description} %^G\nSCHEDULED: %^T\n:PROPERTIES:\n:CREATED: %U\n:END:\n%?" :empty-lines 1 :doct
(:doct-name "TODO: Scheduled" :keys "s" :type entry :file cc/--current-org-default-notes-file :function
cc/--find-capture-point-in-current :empty-lines 1 :template
("* TODO %^{description} %^G" "SCHEDULED: %^T" ":PROPERTIES:" ":CREATED: %U" ":END:" "%?"))
)
("t" "TODO: Unscheduled" entry (file+function cc/--current-org-default-notes-file cc/--find-capture-point-in-current)
"* TODO %^{description} %^G\n:PROPERTIES:\n:CREATED: %U\n:END:\n%?" :empty-lines 1 :doct
(:doct-name "TODO: Unscheduled" :keys "t" :type entry :file cc/--current-org-default-notes-file :function
cc/--find-capture-point-in-current :empty-lines 1 :template ("* TODO %^{description} %^G" ":PROPERTIES:" ":CREATED: %U" ":END:" "%?"))
)
("p" "TODO: Blog Post" entry (file+function cc/--current-org-default-notes-file cc/--find-capture-point-in-current)
"* TODO Post: %^{description} :blog%^G\n:PROPERTIES:\n:CREATED: %U\n:END:\n%?" :empty-lines 1 :doct
(:doct-name "TODO: Blog Post" :keys "p" :type entry :file cc/--current-org-default-notes-file :function
cc/--find-capture-point-in-current :empty-lines 1 :template
("* TODO Post: %^{description} :blog%^G" ":PROPERTIES:" ":CREATED: %U" ":END:" "%?"))
)
("i" "TODO: Issue" entry (file+function cc/--current-org-default-notes-file cc/--find-capture-point-in-current)
"* TODO %^{description} %^G\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n** Title\n%?\n** Description\n\n** Environment\n\n** Steps to Reproduce\n\n** Expected Result\n\n** Actual Result\n"
:empty-lines 1 :doct
(:doct-name
"TODO: Issue"
:keys
"i"
:type
entry
:file
cc/--current-org-default-notes-file
:function
cc/--find-capture-point-in-current
:empty-lines
1
:template
("* TODO %^{description} %^G" ":PROPERTIES:" ":CREATED: %U" ":END:" "" "** Title" "%?" "** Description\n" "** Environment\n" "** Steps to Reproduce\n" "** Expected Result\n" "** Actual Result\n")
)
)
("j" "Journal" entry (file+function cc/--current-org-default-notes-file cc/--find-capture-point-in-current) "%(datestamp2)\n%?"
:empty-lines 1 :doct
(:doct-name "Journal" :keys "j" :type entry :file cc/--current-org-default-notes-file :function cc/--find-capture-point-in-current
:empty-lines 1 :template ("%(datestamp2)" "%?"))
)
("c" "Captee Capture" entry (file+function cc/--current-org-default-notes-file cc/--find-capture-point-in-current)
"* %:description\n:PROPERTIES:\n:CREATED: %U\n:END:\n%:annotation\n%i\n\n%?" :empty-lines 1 :doct
(:doct-name "Captee Capture" :keys "c" :type entry :file cc/--current-org-default-notes-file :function cc/--find-capture-point-in-current
:empty-lines 1 :template ("* %:description" ":PROPERTIES:" ":CREATED: %U" ":END:" "%:annotation" "%i" "" "%?"))
)
("w" "WWDC Capture" entry (file "~/org/wwdc23.org") "** TODO %:description\n%:annotation\n%i\n%?" :empty-lines 1 :doct
(:doct-name "WWDC Capture" :keys "w" :type entry :file "~/org/wwdc23.org" :empty-lines 1 :template
("** TODO %:description" "%:annotation" "%i" "%?"))
)
("o" "Song" entry (file+headline "~/org/songs/songs.org" "Songs") "* %^{Song}\n:PROPERTIES:\n:CREATED: %U\n:ARTIST: %^{Artist}\n:END:\n%?"
:prepend t :doct
(:doct-name "Song" :keys "o" :type entry :file "~/org/songs/songs.org" :headline "Songs" :prepend t :template
("* %^{Song}" ":PROPERTIES:" ":CREATED: %U" ":ARTIST: %^{Artist}" ":END:" "%?"))
)
)
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-refile-targets '((nil :maxlevel . 3) (org-agenda-files :maxlevel . 3))
org-export-before-parsing-hook '(org-attach-expand-links)
org-latex-compiler "xelatex"
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 nil
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-ascii-format-drawer-function #[771 "\x01\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
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-persist-before-read-hook '(org-element--cache-persist-before-read)
org-mode-hook '(org-clock-load #[0 "\301\211\x10\207" [imenu-create-index-function org-imenu-get-tree] 2]
#[0
"\301\211\211\203\x1c\0\211@\211\bB\x10\211@\226\x01AD\bB\x10\x01A\266\202\202\x02\0\266\x02\302\303\304\305\306\307\310\257\a\211\211\203c\0\211@\311\x01P\312\313\x03\"B\bB\x10\314\x01\226P\312\313\x03\"B\bB\x10\315\x01P\312\316\x03\"B\bB\x10\317\x01\226P\312\316\x03\"B\bB\x10\x01A\266\202\202(\0\266\x02\320 \207"
[prettify-symbols-alist
(("#+results:" . 8756)
(":properties:" . 9881)
(":end:" . 128282)
(":logbook:" . 128211)
("[ ]" . 9744)
("[x]" . 9745)
("[-]" . 9992)
)
"center" "comment" "example" "export" "quote" "src" "verse" "#+begin_" cc/--prettify-components 9127 "#+BEGIN_" "#+end_" 9129 "#+END_" prettify-symbols-mode]
7 "Prettify Org keywords."]
#[0 "\300\301\302!\303\"\207" [add-to-list make-local-variable company-backends company-org-block] 3]
#[0 "\300\301!\207" [cc/reconfig-org-smart-quotes-lang "en"] 2] cc/save-hook-delete-trailing-whitespace org-clock-persistence-insinuate
org-indent-mode variable-pitch-mode org-superstar-mode er/add-org-mode-expansions
#[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-babel-load-languages '((dot . t) (emacs-lisp . t) (python . t) (shell . t) (sql . t) (sqlite . t) (restclient . t) (plantuml . t) (swift . t) (swiftui . t))
org-agenda-start-with-log-mode '(closed clock)
org-export-allow-bind-keywords t
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-icalendar-use-scheduled '(event-if-todo event-if-todo-not-done todo-start)
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-confirm-shell-link-function 'yes-or-no-p
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
outline-isearch-open-invisible-function 'outline-isearch-open-invisible
org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-up) (todo todo-state-down priority-down timestamp-down category-up)
(tags todo-state-down priority-down timestamp-down category-up)
(search todo-state-down priority-down timestamp-down time-up category-up))
org-icalendar-include-todo t
org-latex-classes '(("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}"))
("simpleresumecv" "\\documentclass[11pt]{simpleresumecv}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
)
org-plantuml-jar-path "/opt/local/share/java/plantuml/plantuml.jar"
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-use-speed-commands t
org-babel-python-command "python3"
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-capture-prepare-finalize-hook '(doct-run-prepare-finalize)
org-babel-tangle-lang-exts '(("swiftui" . "swift") ("python" . "py") ("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-agenda-window-setup 'other-window
org-superstar-headline-bullets-list '(10687 10070 10040 10047)
org-hide-leading-stars t
org-todo-keywords '((sequence "TODO(t)" "IN_PROGRESS(i)" "WAITING(w)" "|" "DONE(d)") (sequence "|" "CANCELED(c)"))
org-support-shift-select 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-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-latex-prefer-user-labels t
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-export-backends '(ascii html icalendar latex md odt)
org-confirm-babel-evaluate nil
org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
org-export-with-smart-quotes t
org-capture-before-finalize-hook '(doct-run-before-finalize)
org-insert-heading-respect-content t
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 nil
org-link-shell-confirm-function 'yes-or-no-p
org-agenda-finalize-hook '(#[0 "\301\b\302\303#\207" [org-agenda-mode-map define-key [(double-mouse-1)] org-agenda-goto-mouse] 4] hl-line-mode)
org-babel-pre-tangle-hook '(save-buffer)
org-agenda-loop-over-headlines-in-active-region nil
org-todo-keyword-faces '(("TODO" . "red") ("IN_PROGRESS" . "dark orange") ("WAITING" . "dark orange") ("DONE" . "sea green")
("CANCELED" :foreground "blue" :weight bold))
org-capture-mode-hook '(doct-run-hook)
org-occur-hook '(org-first-headline-recenter)
org-capture-after-finalize-hook '(doct-run-after-finalize)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-link-parameters '(("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) ("treemacs" :store treemacs-store-org-link)
("org-ql-search" :follow org-ql-view--link-follow :store org-ql-view--link-store) ("id" :follow org-id-open)
("elfeed" :follow elfeed-link-open :store elfeed-link-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell)
("news" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("mailto" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("https" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("http" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("ftp" :follow #[514 "\301\300\302\x04Q\x02\"\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-superstar-leading-bullet 32
org-agenda-include-diary t
org-startup-with-inline-images t
org-blank-before-new-entry '((heading . t) (plain-list-item . auto))
org-display-remote-inline-images 'cache
org-latex-pdf-process '("%latex -interaction nonstopmode --shell-escape -output-directory %o %f"
"%latex -interaction nonstopmode --shell-escape -output-directory %o %f"
"%latex -interaction nonstopmode --shell-escape -output-directory %o %f")
org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) ("asymptote" . asy) ("dot" . graphviz-dot) ("sqlite" . sql)
("calc" . fundamental) ("C" . c) ("cpp" . c++) ("C++" . c++) ("screen" . shell-script) ("shell" . sh) ("bash" . sh) ("plantuml" . plantuml)
("swift" . swift) ("swiftui" . swift) ("graphviz" . graphviz) ("mscgen" . mscgen))
org-clock-sound "/System/Library/Sounds/Glass.aiff"
)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] Invalid search bound (wrong side of point) [9.6.25 ( @ /Users/cchoi/.config/emacs/elpa/org-9.6.25/)]
2024-04-11 23:47 [BUG] Invalid search bound (wrong side of point) [9.6.25 ( @ /Users/cchoi/.config/emacs/elpa/org-9.6.25/)] Charles Choi
@ 2024-04-15 13:49 ` Ihor Radchenko
2024-05-15 11:15 ` Ihor Radchenko
0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2024-04-15 13:49 UTC (permalink / raw)
To: Charles Choi; +Cc: emacs-orgmode
Charles Choi <kickingvegas@gmail.com> writes:
> Got this warning when running Org Agenda, thought I'd report it in.
>
> ⛔ Warning (org-element-cache): org-element--cache: Org parser error in 2024_04_07.org::#<marker at 886 in 2024_04_07.org>. Resetting.
> The error was: (error "Invalid search bound (wrong side of point)")
Does it also happen on main?
--
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] 3+ messages in thread
* Re: [BUG] Invalid search bound (wrong side of point) [9.6.25 ( @ /Users/cchoi/.config/emacs/elpa/org-9.6.25/)]
2024-04-15 13:49 ` Ihor Radchenko
@ 2024-05-15 11:15 ` Ihor Radchenko
0 siblings, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2024-05-15 11:15 UTC (permalink / raw)
To: Charles Choi; +Cc: emacs-orgmode
Ihor Radchenko <yantar92@posteo.net> writes:
> Charles Choi <kickingvegas@gmail.com> writes:
>
>> Got this warning when running Org Agenda, thought I'd report it in.
>>
>> ⛔ Warning (org-element-cache): org-element--cache: Org parser error in 2024_04_07.org::#<marker at 886 in 2024_04_07.org>. Resetting.
>> The error was: (error "Invalid search bound (wrong side of point)")
>
> Does it also happen on main?
More information have been requested, but none was provided.
Closing.
Canceled.
(It is still useful to get reports like this just to understand if
people keep seeing cache bugs)
--
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] 3+ messages in thread
end of thread, other threads:[~2024-05-15 11:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 23:47 [BUG] Invalid search bound (wrong side of point) [9.6.25 ( @ /Users/cchoi/.config/emacs/elpa/org-9.6.25/)] Charles Choi
2024-04-15 13:49 ` Ihor Radchenko
2024-05-15 11:15 ` 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).