emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] random org-mode warning [9.5.4 (9.5.4-g7c61a3 @ /home/cro/.emacs.default/straight/build/org/)]
@ 2022-06-22 11:50 Cristi Constantin
  2022-06-23  6:20 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Cristi Constantin @ 2022-06-22 11:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'm just editing my normal org log files and I started seeing the errors 
above after I upgraded to latest org-mode.
I think I didn't upgrade for a month, so this bug is pretty new.
It doesn't seem to do anything weird, but I see this traceback a few 
times a day.

This is the full error, so I'm reporting as requested:


Warning (org-element-cache): org-element--cache: Org parser error in 
2022-log.org::178496. Resetting.
The error was: (error "Invalid search bound (wrong side of point)")
Backtrace:
" backtrace-to-string(nil)
org-element-at-point(178496)
org-element--cache-persist-before-write((elisp org-element--cache) 
(:hash \"aea4231abf77bb223420b9b8168a7da5\" :file 
\"/home/cro/org/log/2022-log.org\" :inode 23336608))
run-hook-with-args-until-success(org-element--cache-persist-before-write 
(elisp org-element--cache) (:hash \"aea4231abf77bb223420b9b8168a7da5\" 
:file \"/home/cro/org/log/2022-log.org\" :inode 23336608))
#f(compiled-function (v) #<bytecode -0x1488c17db95b1a5a>)((elisp 
org-element--cache))
#f(compiled-function (elt) #<bytecode 0x439f77274717006>)((elisp 
org-element--cache))
mapc(#f(compiled-function (elt) #<bytecode 0x439f77274717006>) ((elisp 
org-element--headline-cache) (elisp org-element--cache)))
seq-do(#f(compiled-function (elt) #<bytecode 0x439f77274717006>) ((elisp 
org-element--headline-cache) (elisp org-element--cache)))
seq-find(#f(compiled-function (v) #<bytecode -0x1488c17db95b1a5a>) 
((elisp org-element--headline-cache) (elisp org-element--cache)))
org-persist-write(((elisp org-element--headline-cache) (elisp 
org-element--cache)) (:hash \"aea4231abf77bb223420b9b8168a7da5\" :file 
\"/home/cro/org/log/2022-log.org\" :inode 23336608) t)
org-persist-write-all(#<buffer 2022-log.org>)
org-persist-write-all-buffer()
kill-buffer(#<buffer 2022-log.org>)
kill-current-buffer()
funcall-interactively(kill-current-buffer)
call-interactively(kill-current-buffer nil nil)
command-execute(kill-current-buffer)
"
Please report this to Org mode mailing list (M-x org-submit-bug-report). 
Disable showing Disable logging


Emacs : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.17.6)
of 2022-04-27
Package: Org mode version 9.5.4 (9.5.4-g7c61a3 @ 
/home/cro/.emacs.default/straight/build/org/)

current state:
==============
(setq
org-link-elisp-confirm-function 'yes-or-no-p
org-directory "~/org/"
org-hide-emphasis-markers t
org-log-done 'time
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-edit-src-content-indentation 0
org-cycle-hook '(org-cycle-hide-archived-subtrees 
org-cycle-show-empty-lines
org-cycle-optimize-window-after-visibility-change)
org-persist-before-read-hook '(org-element--cache-persist-before-read)
org-modules '(org-tempo)
org-mode-hook '(org-tempo-setup evil-org-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
#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2])
org-babel-load-languages '((emacs-lisp . t) (shell . t) (python . t) 
(ruby . t))
org-link-file-path-type 'relative
org-confirm-shell-link-function 'yes-or-no-p
outline-isearch-open-invisible-function 'outline-isearch-open-invisible
org-use-sub-superscripts '{}
org-startup-indented t
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-tangle-lang-exts '(("ruby" . "rb") ("python" . "py") 
("emacs-lisp" . "el") ("elisp" . "el"))
org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer
doom-modeline-set-org-src-modeline)
org-confirm-elisp-link-function 'yes-or-no-p
org-cycle-separator-lines 1
org-support-shift-select t
org-structure-template-alist '(("sh" . "src shell") ("py" . "src 
python") ("js" . "src javascript")
("el" . "src emacs-lisp") ("a" . "export ascii") ("c" . "center") ("C" . 
"comment")
("e" . "example") ("E" . "export") ("h" . "export html") ("l" . "export 
latex")
("q" . "quote") ("s" . "src") ("v" . "verse"))
org-fontify-whole-heading-line t
org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
org-confirm-babel-evaluate nil
org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal
org-persist-before-write-hook '(org-element--cache-persist-before-write)
org-indent-indentation-per-level 1
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-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) ("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-metaup-hook '(org-babel-load-in-session-maybe)
org-tags-column -66
org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
)



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

end of thread, other threads:[~2022-07-01 11:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-22 11:50 [BUG] random org-mode warning [9.5.4 (9.5.4-g7c61a3 @ /home/cro/.emacs.default/straight/build/org/)] Cristi Constantin
2022-06-23  6:20 ` Ihor Radchenko
2022-06-23 15:16   ` Cristi Constantin
2022-06-27  8:50     ` Ihor Radchenko
2022-06-29  2:10     ` Ihor Radchenko
2022-07-01 11:04       ` Cristi Constantin

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