* [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
@ 2024-12-20 21:30 Paul Stansell
2024-12-23 17:16 ` Ihor Radchenko
0 siblings, 1 reply; 4+ messages in thread
From: Paul Stansell @ 2024-12-20 21:30 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 8185 bytes --]
Hello,
Occasionally, when I start emacs from the command line, I get this bug, but
it's intermittent,
so I have ignored it until now.
All I can report is that I opened an org file named scratch.org and
received the following error message:
Warning (org-element): org-element--cache: Org parser error in
scratch.org::8756. Resetting.
The error was: (error "Invalid search bound (wrong side of point)")
Backtrace:
nil
Please report this to Org mode mailing list (M-x org-submit-bug-report).
Then I closed the buggy emacs window and tried again and it was fine.
Paul
------------------------------------------------------------------------
Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.33, cairo version 1.16.0)
of 2024-09-17, modified by Debian
Package: Org mode version 9.8-pre (release_9.7.16-169-ge87ecf @
~/.emacs.d/org-mode-git/lisp/)
current state:
==============
(setq
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-link-shell-confirm-function 'yes-or-no-p
org-sort-function 'string-collate-lessp
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-persist-before-write-hook '(org-element--cache-persist-before-write)
org-startup-folded t
org-id-link-to-org-use-id t
org-mode-hook '(#[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-clock-persist 'history
org-archive-hook '(org-attach-archive-delete-maybe)
org-persist-before-read-hook '(org-element--cache-persist-before-read)
org-confirm-elisp-link-function 'yes-or-no-p
org-clock-history-length 28
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-bibtex-headline-format-function 'org-bibtex-headline-format-default
org-adapt-indentation t
org-babel-pre-tangle-hook '(save-buffer)
org-file-apps '((auto-mode . emacs) ("\\.odt\\'" . "libreoffice %s")
("\\.docx\\'" . "libreoffice %s") ("\\.xlsx\\'" .
"libreoffice %s")
("\\.png\\'" . "xv %s") ("\\.jpg\\'" . "xv %s")
("\\.jpeg\\'" . "xv %s")
("\\.webp\\'" . "xv %s") ("\\.pdf\\'" . "okular \"%s\"")
("\\.xoj" . "xournal %s") ("\\.xopp" . "xournalpp %s"))
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-hide-leading-stars t
org-babel-load-languages '((R . t) (emacs-lisp . t) (gnuplot . t) (octave
. t) (python . t)
(fortran . t) (sql . t) (ditaa . t) (dot . t)
(shell . t))
org-log-done 'time
org-highlight-latex-and-related '(latex)
org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-agenda-loop-over-headlines-in-active-region nil
org-fontify-done-headline nil
org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
org-occur-hook '(org-first-headline-recenter)
org-log-into-drawer t
org--warnings '("org-element--cache: Org parser error in scratch.org::8756.
Resetting.\n The error was: (error \"Invalid search bound (wrong side of
point)\")\n Backtrace:\nnil\n Please report this to Org mode mailing list
(M-x org-submit-bug-report).")
org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-show-empty-lines
org-cycle-optimize-window-after-visibility-change
org-cycle-display-link-previews)
org-todo-keywords '((sequence "TODO(t!)" "MAYBE(m!)" "STARTED(s!)"
"WAITING(w@/!)" "|"
"DONE(d)" "INFO(i!)" "CANCELLED(c@)" "UNFINISHED(u@)"
"ABANDONED(a@)")
)
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-yank-image-file-name-function 'org-yank-image-autogen-filename
org-fold-catch-invisible-edits 'error
org-babel-tangle-lang-exts '(("fortran" . "F90") ("python" . "py")
("emacs-lisp" . "el")
("elisp" . "el"))
org-format-latex-options '(:foreground "Yellow" :background default :scale
1.2
:html-foreground "Black" :html-background
"Transparent"
:html-scale 1.07 :matchers ("begin" "$1" "$"
"$$" "\\(" "\\["))
org-clock-display-default-range 'untilnow
org-export-before-parsing-hook '(org-attach-expand-links)
org-confirm-shell-link-function 'yes-or-no-p
org-link-parameters '(("attachment" :follow org-attach-follow :complete
org-attach-complete-link :preview
org-attach-preview-file)
("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)
("id" :follow org-id-open :store
org-id-store-link-maybe)
("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 :preview
org-link-preview-file)
("elisp" :follow org-link--open-elisp))
org-link-elisp-confirm-function 'yes-or-no-p
org-todo-keyword-faces '(("TODO" :foreground "light pink" :weight bold)
("MAYBE" :foreground "light pink" :weight bold)
("STARTED" :foreground "gold" :weight bold)
("DONE" :foreground "light green" :weight bold)
("WAITING" :foreground "gold" :weight bold)
("CANCELLED" :foreground "light green" :weight
bold)
("UNFINISHED" :foreground "light green" :weight
bold)
("ABANDONED" :foreground "light green" :weight
bold))
org-clock-into-drawer "CLOCK"
org-clock-in-switch-to-state "STARTED"
org-clock-out-remove-zero-time-clocks t
org-confirm-babel-evaluate nil
)
[-- Attachment #2: Type: text/html, Size: 10933 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
2024-12-20 21:30 [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)] Paul Stansell
@ 2024-12-23 17:16 ` Ihor Radchenko
2024-12-23 18:02 ` Paul Stansell
0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2024-12-23 17:16 UTC (permalink / raw)
To: Paul Stansell; +Cc: emacs-orgmode
Paul Stansell <paulstansell@gmail.com> writes:
> Occasionally, when I start emacs from the command line, I get this bug, but
> it's intermittent,
> so I have ignored it until now.
>
> All I can report is that I opened an org file named scratch.org and
> received the following error message:
>
> Warning (org-element): org-element--cache: Org parser error in
> scratch.org::8756. Resetting.
> The error was: (error "Invalid search bound (wrong side of point)")
> Backtrace:
> nil
> Please report this to Org mode mailing list (M-x org-submit-bug-report).
Thanks for reporting!
May you add
(setq org-element--cache-self-verify 'backtrace)
to your config?
This will enable extra logging that will provide more context about the error.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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] 4+ messages in thread
* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
2024-12-23 17:16 ` Ihor Radchenko
@ 2024-12-23 18:02 ` Paul Stansell
2024-12-23 18:08 ` Ihor Radchenko
0 siblings, 1 reply; 4+ messages in thread
From: Paul Stansell @ 2024-12-23 18:02 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
Hello Ihor,
May you add
> (setq org-element--cache-self-verify 'backtrace)
> to your config?
Sure, I'll do that.
In case it's relevant, I also frequently get warnings like the following:
Warning (emacs): Emacs reader failed to read data in
"~/.cache/org-persist//gc-lock.eld". The error was: "End of file during
parsing"
Paul
[-- Attachment #2: Type: text/html, Size: 745 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]
2024-12-23 18:02 ` Paul Stansell
@ 2024-12-23 18:08 ` Ihor Radchenko
0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2024-12-23 18:08 UTC (permalink / raw)
To: Paul Stansell; +Cc: emacs-orgmode
Paul Stansell <paulstansell@gmail.com> writes:
> In case it's relevant, I also frequently get warnings like the following:
>
> Warning (emacs): Emacs reader failed to read data in
> "~/.cache/org-persist//gc-lock.eld". The error was: "End of file during
> parsing"
May it be that you often have multiple Emacs processes running
simultaneously and killed by signal?
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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] 4+ messages in thread
end of thread, other threads:[~2024-12-23 18:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 21:30 [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)] Paul Stansell
2024-12-23 17:16 ` Ihor Radchenko
2024-12-23 18:02 ` Paul Stansell
2024-12-23 18:08 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.