emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] error: Invalid search bound [9.6.11 ( @  /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)]
@ 2023-11-30 10:33 Nikolaus Rath
  2023-12-04 14:53 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Nikolaus Rath @ 2023-11-30 10:33 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

When running org-agenda and pressing "x" (see below for configuration), I am occasionally getting the following error:

Warning (org-element-cache): org-element--cache: Added org-data parent to non-headline element: (paragraph (:begin 26744 :end 26830 :contents-begin 26744 :contents-end 26829 :post-blank 1 :post-affiliated 26744 :mode property-drawer :granularity element :cached t :parent (section (:begin 26715 :end 27120 :contents-begin 26715 :contents-end 27119 :robust-begin 26715 :robust-end 27117 :post-blank 1 :post-affiliated 26715 :mode section :granularity element :cached nil :parent (headline (:raw-value "Sort out radiator pipe" :begin 26679 :end 27120 :pre-blank 0 :contents-begin 26715 :contents-end 27119 :robust-begin 26743 :robust-end 27117 :level 2 :priority 66 :tags nil :todo-keyword #("TODO" 0 4 (fontified nil line-prefix #("*" 0 1 (face org-indent)) wrap-prefix #("*** " 0 1 (face org-indent) 1 4 (face org-indent)) org-fold--spec-org-fold-outline--94869273637456887 org-fold-outline isearch-open-invisible org-fold-core--isearch-show isearch-open-invisible-temporary org-fold-core--isearch-show-temporary)) :todo-type todo :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 26679 :scheduled (timestamp (:type active :raw-value "<2023-11-28 Tue>" :year-start 2023 :month-start 11 :day-start 28 :hour-start nil :minute-start nil :year-end 2023 :month-end 11 :day-end 28 :hour-end nil :minute-end nil :begin 27067 :end 27083 :post-blank 0)) :title "Sort out radiator pipe" :mode nil :granularity element :cached nil :parent (headline (:raw-value "Haus & Garten" :begin 19640 :end 27164 :pre-blank 0 :contents-begin 19656 :contents-end 27164 :robust-begin 19658 :robust-end 27162 :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 19640 :title "Haus & Garten" :mode nil :granularity element :org-element--cache-sync-key (0 . 19787) :cached nil :parent (org-data (:begin 1 :contents-begin 1 :contents-end 37599 :end 37600 :robust-begin 3 :robust-end 37597 :post-blank 1 :post-affiliated 1 :path "/home/nikratio/in-progress/org/todo.org" :mode org-data :CATEGORY "todo" :parent nil :cached t :org-element--cache-sync-key nil)))) :org-element--cache-sync-key (0 . 26826))) :org-element--cache-sync-key (0 . 26861))) :org-element--cache-sync-key (0 . 26891)))
If this warning appears regularly, please report the warning text to Org mode mailing list (M-x org-submit-bug-report). Disable showing Disable logging
Warning (org-element-cache): org-element--cache: Org parser error in todo.org::#<marker at 37905 in todo.org>. 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). Disable showing Disable logging


Emacs  : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0)
of 2023-05-14, modified by Debian
Package: Org mode version 9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)

current state:
==============
(setq
org-link-elisp-confirm-function 'yes-or-no-p
org-directory "~/in-progress/org"
org-bibtex-headline-format-function #[257 "\300%1\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
org-log-done 'time
org-fontify-done-headline nil
org-agenda-custom-commands '(("x" tags-tree
                               #("TODO=\"TODO\"&SCHEDULED<>{.+}&DEADLINE<>{.+}&PRIORITY<>{[CD]}|SCHEDULED<=\"<now>\"&PRIORITY<>{[CD]}|DEADLINE<=\"<+14d>\""
                                 23 27 (regexp t) 38 42 (regexp t) 53 59 (regexp t) 89 95 (regexp t))
                               )
                              ("X" tags-tree #("TODO=\"TODO\"&SCHEDULED<>{.+}|SCHEDULED<=\"<now>\"" 23 27 (regexp t))))
org-agenda-files '("~/in-progress/org")
org-persist-after-read-hook '(org-element--cache-persist-after-read)
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-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 '(#[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%10\207" [imenu-create-index-function org-imenu-get-tree] 2]
                 flyspell-mode spacemacs/load-yasnippet toc-org-enable dotspacemacs//prettify-spacemacs-docs org-superstar-mode)
org-ctrl-k-protect-subtree 'ask
org-priority-lowest 68
org-agenda-span 'fortnight
org-ellipsis "⤵"
org-confirm-shell-link-function 'yes-or-no-p
outline-isearch-open-invisible-function 'outline-isearch-open-invisible
org-fold-catch-invisible-edits 'show-and-error
org-link-translation-function 'toc-org-unhrefify
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-deadline-warning-days 8
org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
org-priority-default 68
org-fold-core-isearch-open-function 'org-fold--isearch-reveal
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-agenda-todo-ignore-scheduled 'future
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-occur-hook '(org-first-headline-recenter)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open)
                       ("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) ("file+sys")
                       ("file+emacs") ("shell" :follow org-link--open-shell)
                       ("news" :follow #[514 "\301\300\302%4Q%2\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("mailto" :follow #[514 "\301\300\302%4Q%2\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("https" :follow #[514 "\301\300\302%4Q%2\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("http" :follow #[514 "\301\300\302%4Q%2\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("ftp" :follow #[514 "\301\300\302%4Q%2\"\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-metaup-hook '(org-babel-load-in-session-maybe)
org-startup-with-inline-images t
org-imenu-depth 8
org-agenda-todo-ignore-deadlines 'far
)

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

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

* Re: [BUG] error: Invalid search bound [9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)]
  2023-11-30 10:33 [BUG] error: Invalid search bound [9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)] Nikolaus Rath
@ 2023-12-04 14:53 ` Ihor Radchenko
  2023-12-05  9:56   ` Nikolaus Rath
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2023-12-04 14:53 UTC (permalink / raw)
  To: Nikolaus Rath; +Cc: emacs-orgmode

"Nikolaus Rath" <nikolaus@rath.org> writes:

> When running org-agenda and pressing "x" (see below for configuration), I am occasionally getting the following error:
>
> Warning (org-element-cache): org-element--cache: Added org-data parent to non-headline element:
> ...
>
> Emacs  : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0)
> of 2023-05-14, modified by Debian
> Package: Org mode version 9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)

May you please try the latest bugfix branch and let us know if you are
still seeing the warning?

-- 
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] 4+ messages in thread

* Re: [BUG] error: Invalid search bound [9.6.11 ( @  /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)]
  2023-12-04 14:53 ` Ihor Radchenko
@ 2023-12-05  9:56   ` Nikolaus Rath
  2023-12-05 12:51     ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Nikolaus Rath @ 2023-12-05  9:56 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode



On Mon, 4 Dec 2023, at 14:53, Ihor Radchenko wrote:
> "Nikolaus Rath" <nikolaus@rath.org> writes:
>
>> When running org-agenda and pressing "x" (see below for configuration), I am occasionally getting the following error:
>>
>> Warning (org-element-cache): org-element--cache: Added org-data parent to non-headline element:
>> ...
>>
>> Emacs  : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0)
>> of 2023-05-14, modified by Debian
>> Package: Org mode version 9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)
>
> May you please try the latest bugfix branch and let us know if you are
> still seeing the warning?

Thanks for the quick response! Could you point me in the direction of how to do that? I'm a bit confused by the layering of Emac's builtin-org, the Elpa installed one (which I seem to be using) and Spacemacs (whih I think takes over management of Emacs packages). 

Should it work to clone the git branch and do "(add-to-list 'load-path "~/src/org-mode/lisp") or will this result in some terrible mess?

Best,
-Nikolaus


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

* Re: [BUG] error: Invalid search bound [9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)]
  2023-12-05  9:56   ` Nikolaus Rath
@ 2023-12-05 12:51     ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2023-12-05 12:51 UTC (permalink / raw)
  To: Nikolaus Rath; +Cc: emacs-orgmode

"Nikolaus Rath" <nikolaus@rath.org> writes:

>> May you please try the latest bugfix branch and let us know if you are
>> still seeing the warning?
>
> Thanks for the quick response! Could you point me in the direction of how to do that? I'm a bit confused by the layering of Emac's builtin-org, the Elpa installed one (which I seem to be using) and Spacemacs (whih I think takes over management of Emacs packages). 
>
> Should it work to clone the git branch and do "(add-to-list 'load-path "~/src/org-mode/lisp") or will this result in some terrible mess?

If you are using ELPA-devel, it will be enough to update Org mode.

Otherwise, (add-to-list 'load-path "~/src/org-mode/lisp") should do as
long as you put it early enough in your config, so that built-in Org
version is not yet loaded.
Also, see https://orgmode.org/manual/Installation.html

-- 
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] 4+ messages in thread

end of thread, other threads:[~2023-12-05 12:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-30 10:33 [BUG] error: Invalid search bound [9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)] Nikolaus Rath
2023-12-04 14:53 ` Ihor Radchenko
2023-12-05  9:56   ` Nikolaus Rath
2023-12-05 12:51     ` 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).