From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: error with cache
Date: Tue, 17 Dec 2024 15:37:17 +0000 [thread overview]
Message-ID: <87frmm8gnn.fsf@ucl.ac.uk> (raw)
Hello all,
I use Emacs as my window manager (exwm). I don't often restart as my
system is up 24/7. Today, I had to restart and found Emacs hanging
during startup. I added a debug on quit directive so I could see why.
The backtrace looks like this:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (quit)
org-element--cache-active-p()
org-element--parse-to(211)
org-element-cache-map(#f(compiled-function (el) #<bytecode 0x14123237c7f8dc4b>) :next-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \11.-]*\\)>" :fail-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \11.-]*\\)>" :narrow t)
org-agenda-get-deadlines(t)
org-agenda-get-day-entries("/home/ucecesf/s/notes/ucltimetable.org" (12 17 2024) :deadline* :scheduled* :timestamp)
org-agenda-to-appt()
load-with-code-conversion("/home/ucecesf/s/emacs/esf-org.el" "/home/ucecesf/s/emacs/esf-org.el" nil nil)
load("esf-org")
load-with-code-conversion("/home/ucecesf/s/emacs/esf-common.el" "/home/ucecesf/s/emacs/esf-common.el" nil nil)
load("~/s/emacs/esf-common")
load-with-code-conversion("/home/ucecesf/.emacs" "/home/ucecesf/.emacs" t t)
load("~/.emacs" noerror nomessage)
#f(compiled-function () #<bytecode 0xf13c5274d3a4b11>)()
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x13ec00abe1cfb51>) #f(compiled-function () #cq
--8<---------------cut here---------------end--------------->8---
Asking Emacs to continue keeps it in an infinite loop of some sort.
Hitting C-g brings up a similar backtrace varying only in the argument
to org-element--parse-to. Repeat ad nauseam.
The offending org file is automatically generated by cron from an ICS
file. I tried resetting the cache but this did nothing.
I've removed the offending org file from the agenda list as my lectures
have finished so I don't need it and problem averted. But I'm curious
to know what I could do in such a situation, should it arise again; I do
have two other agenda files that are also automatically generated.
For good measure, I've subsequently updated Emacs from git so the
version of org that was causing the error was from Emacs master from
last week.
Thank you,
eric
--
: Eric S Fraga, with org 9.7.17-3ae179 in Emacs 31.0.50
reply other threads:[~2024-12-17 15:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frmm8gnn.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).