emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* error during appt/agenda initialization
@ 2024-02-09 15:42 Fraga, Eric
  2024-02-09 20:35 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Fraga, Eric @ 2024-02-09 15:42 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hello all,

I upgraded (on a different system) org-mode from git and I now find that
my emacs start-up hangs.  If I C-g out of it, I get the following
backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (quit)
  #f(compiled-function (node) "Get `:begin' property of NODE." #<bytecode 0x219414642786919>)((keyword (:standard-properties [272 272 nil nil 342 0 nil nil element t nil nil nil nil #<buffer diary.org> nil nil (section (:standard-properties [104 104 104 2935 2935 0 nil section element t nil 104 2935 nil #<buffer diary.org> nil nil (headline ...)]))] :key "OPTIONS" :value "H:2 num:t toc:nil \\n:nil @:t ::t |:t ^:t -:t f:t *...")))
  org-element--cache-find(76 nil)
  org-element--parse-to(76)
  org-element-cache-map(#f(compiled-function (el) #<bytecode -0x1687926f9c4df43a>) :next-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:..." :fail-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:..." :narrow t)
  org-agenda-get-deadlines(t)
  org-agenda-get-day-entries("/home/ucecesf/s/notes/diary.org" (2 9 2024) :deadline* :scheduled* :timestamp)
  apply(org-agenda-get-day-entries "/home/ucecesf/s/notes/diary.org" (2 9 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")
--8<---------------cut here---------------end--------------->8---

If I comment out the (org-agenda-to-appt) line in my configuration,
Emacs starts up just fine.

Any suggestions?  Other systems, with the same configuration (but older
versions of org mode), start up just fine, as I have just verified by
starting emacs on the desktop I'm using to compose this email.

Thank you,
eric

-- 
: Eric S Fraga, with org release_9.6.13-1003-g872c1b in Emacs 30.0.50

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

* Re: error during appt/agenda initialization
  2024-02-09 15:42 error during appt/agenda initialization Fraga, Eric
@ 2024-02-09 20:35 ` Ihor Radchenko
  2024-02-09 21:09   ` Fraga, Eric
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2024-02-09 20:35 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: Emacs Org mode mailing list

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> I upgraded (on a different system) org-mode from git and I now find that
> my emacs start-up hangs.  If I C-g out of it, I get the following
> backtrace:
>...
>   org-element-cache-map
>...
> If I comment out the (org-agenda-to-appt) line in my configuration,
> Emacs starts up just fine.
>
> Any suggestions?  Other systems, with the same configuration (but older
> versions of org mode), start up just fine, as I have just verified by
> starting emacs on the desktop I'm using to compose this email.

Try the latest main.

-- 
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: error during appt/agenda initialization
  2024-02-09 20:35 ` Ihor Radchenko
@ 2024-02-09 21:09   ` Fraga, Eric
  2024-02-10 14:16     ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Fraga, Eric @ 2024-02-09 21:09 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Emacs Org mode mailing list

Hi Ihor,

On Friday,  9 Feb 2024 at 20:35, Ihor Radchenko wrote:
> Try the latest main.

Thank you but, unfortunately, initialization is still failing, although
the backtrace is subtly different:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (quit)
  #f(compiled-function (node) "Get `:end' property of NODE." #<bytecode -0x316a9de6c8e5b57>)((table-row (:standard-properties [4219 4219 4220 4300 4301 0 nil table-row element t nil nil nil nil #<buffer diary.org> nil nil (table (:standard-properties [3780 3807 3807 5380 5381 1 nil nil element t nil nil nil nil #<buffer diary.org> nil nil (section ...)] :type org :tblfm nil :value nil :attr_latex (":align |rll|")))] :type standard)))
  org-element--parse-to(4291)
  org-element-at-point(4291)
  org-element-cache-map(#f(compiled-function (el) #<bytecode -0x14717f41a24cb4e0>) :next-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:..." :fail-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:..." :narrow t)
  org-agenda-get-deadlines(t)
  org-agenda-get-day-entries("/home/ucecesf/s/notes/diary.org" (2 9 2024) :deadline* :scheduled* :timestamp)
  apply(org-agenda-get-day-entries "/home/ucecesf/s/notes/diary.org" (2 9 2024) (:deadline* :scheduled* :timestamp))
  org-agenda-to-appt()
--8<---------------cut here---------------end--------------->8---

Thanks again,
eric

-- 
: Eric S Fraga, with org release_9.6.13-1003-g872c1b in Emacs 30.0.50

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

* Re: error during appt/agenda initialization
  2024-02-09 21:09   ` Fraga, Eric
@ 2024-02-10 14:16     ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2024-02-10 14:16 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: Emacs Org mode mailing list

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> On Friday,  9 Feb 2024 at 20:35, Ihor Radchenko wrote:
>> Try the latest main.
>
> Thank you but, unfortunately, initialization is still failing, although
> the backtrace is subtly different:
>
> ...
>   org-element-cache-map
>   org-agenda-get-deadlines(t)
>   org-agenda-get-day-entries("/home/ucecesf/s/notes/diary.org" (2 9 2024) :deadline* :scheduled* :timestamp)

May you try to cut your diary.org as much as possible to trigger the
infinite loop and share the file?

-- 
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:[~2024-02-10 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 15:42 error during appt/agenda initialization Fraga, Eric
2024-02-09 20:35 ` Ihor Radchenko
2024-02-09 21:09   ` Fraga, Eric
2024-02-10 14:16     ` 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).