From: Hanno Perrey <hanno@hoowl.se>
To: <emacs-orgmode@gnu.org>
Subject: [BUG] hang in org-element-cache-map triggered by org-icalendar-export-to-ics
Date: Tue, 31 Jan 2023 21:10:05 +0100 [thread overview]
Message-ID: <87pmau4fi3.fsf@hoowl.se> (raw)
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
Dear all,
I have noticed a problem in =org-element-cache-map= that can be
triggered under specific circumstances through
=org-icalendar-export-to-ics= where the execution of the latter would
simply hang apparently indefinitely. This happens if
- =org-icalendar-store-UID= set to ='t=
- =org-icalendar-use-scheduled= set to = '(event-if-not-todo))=
- the buffer is narrowed to a tree with multiple sub-headings, each with
a scheduled time
If =org-element-use-cache= is set to =nil= then the export succeeds
almost instantly.
I attach an org file with detailed steps for reproducing this on the
latest =main= using =make repro= on Emacs 28.1.90. I am a little stuck
debugging this further as I am not at all familiar with the inner
workings of Org's element cache. Any help or suggestions would be much
appreciated as I am using just this particular configuration quite
frequently when capturing new events and importing them into my calendar.
Thanks and cheers,
Hanno
--
Hanno Perrey
https://hoowl.se
[-- Attachment #2: test_subtree_ical_export.org --]
[-- Type: application/vnd.lotus-organizer, Size: 68462 bytes --]
next reply other threads:[~2023-01-31 20:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-31 20:10 Hanno Perrey [this message]
2023-01-31 21:22 ` [BUG] hang in org-element-cache-map triggered by org-icalendar-export-to-ics Ihor Radchenko
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmau4fi3.fsf@hoowl.se \
--to=hanno@hoowl.se \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.