From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id UG6CBZI4HWb4uQAAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Apr 2024 16:24:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UG6CBZI4HWb4uQAAqHPOHw (envelope-from ) for ; Mon, 15 Apr 2024 16:24:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uchicago.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713191058; a=rsa-sha256; cv=none; b=CUot0FmgOhY5GmfW44l0Qaw72yf/1CcgwnJZdpZnNwcz6fUjCLexrnilOy5LaVvnyDxTc8 pnfj1keRqRtjOXr8VcCBuwzsPbxTWDtUQx/K7QiN7kjqdTl5KW4sodfrhtE8pv7hCdD0bp 7gxEqxA+4MHIwAWfVU0AN5/5YbRQnY1/lCA7HFKMMUo4AIb88QUjtOQnwHC96PUAPA478X nGkQZoRpfkmfv4HY6oipHbhRIr0tM7zUOgOZ0ZBbbyowFWOmCY9nuANEuBcTO6NW+ZCede RGGLmJ67E5RAxsU1+7E2O5eA+rEnjQtSrI7rME/t0eoU23a00QnQXdHxArgv1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uchicago.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713191058; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=1ju8hyoFvLHh1W20jsu4p4NMI0HlFRqYvQJ0kfEUSC0=; b=q86Phwwe3Bll6umvnRp40Rnmpd1O4xUnKo6k4UMMGXVeswfiGx59ebzEdANGy5bAEkCJe2 CmI1hI4xm0nKk6RcLqjpDIoUa5nXQX4NPImCBvm+RISeIS8rCW7e4zWpgX1v050Sp7GBQW SqJXTiNwxmZX5OWdBtr0sXMfHuLq5xqI3Pj3FL4kWef2rqeRzMHSEQRCnjTpmFgkwlh/Pw VK6sFuRg2dIvJ5frindAcaNZqKa1ZPHD7xgZkkEYDztur32EowhjYLUWafzF3VMVeh2grw KQ3U2s3griieHE9pmEt5WkV4ayolVr8CFfQpYOGIbGfu1MAlpRmDxaqAampRiw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 47D6F7081F for ; Mon, 15 Apr 2024 16:24:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwM5m-0004Uj-GZ; Mon, 15 Apr 2024 09:09:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtv27-0003BF-2e for emacs-orgmode@gnu.org; Mon, 08 Apr 2024 15:51:59 -0400 Received: from jfcl.lib.uchicago.edu ([128.135.53.49]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtv1z-0007XE-UR for emacs-orgmode@gnu.org; Mon, 08 Apr 2024 15:51:58 -0400 Received: from keith by jfcl.lib.uchicago.edu with local (Exim 4.97.1) (envelope-from ) id 1rtugP-00000001Dkq-3S3K for emacs-orgmode@gnu.org; Mon, 08 Apr 2024 14:29:33 -0500 From: Keith Waclena To: emacs-orgmode@gnu.org Subject: [BUG] Warning (org-element-cache): org-element--cache: Org parser error [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)] Date: Mon, 08 Apr 2024 14:29:33 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=128.135.53.49; envelope-from=keith@jfcl.lib.uchicago.edu; helo=jfcl.lib.uchicago.edu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 15 Apr 2024 09:09:40 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -3.77 X-Migadu-Queue-Id: 47D6F7081F X-Migadu-Spam-Score: -3.77 X-Migadu-Scanner: mx10.migadu.com X-TUID: qcEhnaFTBz6v 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. ------------------------------------------------------------------------ Since upgrading from Emacs v28 to v29 I get this error the first time I pull up the agenda via M-x org-agenda: =E2=9B=94 Warning (org-element-cache): org-element--cache: Org parser e= rror in emacs.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= ). The same error is repeated 15 times for 15 different agenda files (with different marker values), once per file; most of these markers are at end-of-file but not all of them. When the warning pop up emacs is spinning the CPU and is hung; at that moment this command in the shell also hangs: $ emacsclient --eval '(top-level)' Emacs tells me to hit C-g 4 times to interrupt, and that works. After I interrupt it, my agenda works fine until I restart Emacs and then it happens again. Any ideas / hints? Thanks! Keith ------------------------------------------------------------------------ Emacs : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo ver= sion 1.18.0, Xaw3d scroll bars) Package: Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/li= sp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-link-elisp-confirm-function 'yes-or-no-p org-hide-emphasis-markers t org-bibtex-headline-format-function #[257 "\300%1\236A\207" [:title] 3 "\n= \n(fn ENTRY)"] org-agenda-custom-commands '(("a" "Agenda and Work-Related Tasks" ((agenda= "") (tags-todo "worktodos"))) ("h" "Agenda and Home-Related Tasks" ((tags-t= odo "hometodos") (agenda ""))) ("b" todo "BUY") ("B" todo-tree "BUY")) org-agenda-files '("~/notes/remember/") org-replace-disputed-keys t org-persist-after-read-hook '(org-element--cache-persist-after-read) org-refile-targets '((org-agenda-files :level . 1) (nil :level . 1)) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-he= ader-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-ascii-format-drawer-function #[771 "%1\207" [] 4 "\n\n(fn NAME CONTENT= S WIDTH)"] org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lin= es org-cycle-optimize-window-after-visibility-change org-cyc= le-display-inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-mode-hook '(docket-highlight-mode #[0 "\301\211%10\207" [imenu-create-= index-function org-imenu-get-tree] 2] org-tempo-setup #[0 "\300\301\302\303\304$\207" [add-hook change-major-mod= e-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-a= ll append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes (lambda nil (condition-case err (flyspell-mode 1) ((debug error) (mes= sage "Ignoring: %S" err) nil)) (progn (setq indicate-empty-lines t) (setq tab-always-ind= ent t) (setq show-trailing-whitespace t) (setq org-src-fontify-natively t) (setq org-catch-invisi= ble-edits 'smart) (setq org-hide-emphasis-markers t)) ) org-indent-mode) org-babel-load-languages '((emacs-lisp . t) (shell . t) (dot . t) (R . t) = (org . t) (ditaa . t)) org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-latex-format-headline-function 'org-latex-format-headline-default-func= tion 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-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}" ("\\= section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}")) ("tuftebook" "\\documentclass{tufte-book}\n\n \\u= sepackage{color}\n \\usepackage{amssymb}\n = \\usepackage{gensymb}\n \\usepackage{nicefrac}\n = \\usepackage{units}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%= s}" . "\\subsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparag= raph{%s}" . "\\subparagraph*{%s}")) ("tuftehandout" "\\documentclass{tufte-handout}\n \\= usepackage{color}\n \\usepackage{amssymb}\n = \\usepackage{amsmath}\n \\usepackage{gensymb}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%= s}" . "\\subsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparag= raph{%s}" . "\\subparagraph*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\sectio= n{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparag= raph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}= " . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}"= . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . = "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}"= . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}")) ) org-odt-format-headline-function 'org-odt-format-headline-default-function org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-tangle-lang-exts '(("ocaml" . "ml") ("emacs-lisp" . "el") ("elis= p" . "el")) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-latex-default-packages-alist '(("mathletters" "ucs" nil) ("mathletters= " "ucs" nil) ("AUTO" "inputenc" t ("pdflatex")) ("T1= " "fontenc" t ("pdflatex")) ("" "graphicx" t) ("" "longtable" nil) = ("" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" t) ("" "amsmath" t) = ("" "amssymb" t) ("" "capt-of" nil) ("" "hyperref" nil)) org-confirm-elisp-link-function 'yes-or-no-p org-structure-template-alist '(("so" . "src ocaml") ("se" . "src emacs-lis= p") ("a" . "export ascii") ("c" . "center") ("C" . "comment") ("e" . "= example") ("E" . "export") ("h" . "export html") ("l" . "export latex"= ) ("q" . "quote") ("s" . "src") ("v" . "verse")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal org-M-RET-may-split-line nil org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-persist-before-write-hook '(org-element--cache-persist-before-write) org-emphasis-alist '(("/" underline) ("*" bold) ("/" italic) ("_" underlin= e) ("=3D" org-verbatim verbatim) ("~" org-code verbatim) ("+" (:strike-through t))) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-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-capture-after-finalize-hook '(org-agenda-to-appt) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete or= g-attach-complete-link) ("eww" :follow org-eww-open :store org-eww-store-lin= k) ("rmail" :follow org-rmail-open :store org-rmail-sto= re-link) ("mhe" :follow org-mhe-open :store org-mhe-store-lin= k) ("irc" :follow org-irc-visit :store org-irc-store-li= nk :export org-irc-export) ("info" :follow org-info-open :export org-info-expor= t :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-docv= iew-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-= store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-expor= t :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-do= i-export) ("id" :follow org-id-open) ("elfeed" :follow elfeed-link-open :store elfeed-lin= k-store-link) ("file+sys") ("file+emacs") ("geo" :follow (closure (t) (link _) (osm (concat "g= eo:" link))) :store (closure (t) nil (if (eq major-mode 'osm-mode) (progn (apply 'org-l= ink-store-props (osm--org-link-props))))) ) ("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-ur= l ":"] 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-html-format-headline-function 'org-html-format-headline-default-functi= on org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-restore-windows-after-quit t org-agenda-include-diary t org-special-ctrl-a/e 'reversed org-tab-before-tab-emulation-hook '(org-tempo-complete-tag) )