emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ICS agenda export exceeds max-specpdl-size probably because of org-d


From: Karl Voit
Subject: Re: ICS agenda export exceeds max-specpdl-size probably because of org-depend (org-edna same?)
Date: Mon, 24 Feb 2020 14:55:52 +0100
User-agent: slrn/pre1.0.0-18 (Linux)

Hi Bastien,

* Bastien <address@hidden> wrote:
>
> Karl Voit <address@hidden> writes:
>
>> Easy: I could not find any change of the defaults in my
>> configuration[1]. So all of them have to be the default values.
>>
>> [1] https://github.com/novoid/dot-emacs/blob/master/config.org
>
> I would try setting `org-agenda-before-write-hook' to nil (it is set
> to `org-agenda-add-entry-text' by default.
>
> Also, I see `org-icalendar-include-body' is set to 1000 in your setup.
>
> That's a lot and this will generate a lot of strings replacements,
> I suggest trying a lower value for your export-and-write function.

Thanks for the advice. I ran three test runs in order to find out how output is
affected:


Testrun with disabled org-depend:
emacs-snapshot --batch --load /home/vk/.emacs.d/init.el --eval '(progn 
(my-export-agenda))
   261.95s user 1.57s system 99% cpu 4:24.01 total

→ I got a result without error


Testrun with enabled org-depend:
emacs-snapshot --batch --load /home/vk/.emacs.d/init.el --eval '(progn 
(my-export-agenda))'
   117.58s user 1.46s system 99% cpu 1:59.60 total

→ much faster result without error :-)  (probably caching?)


revoking the two suggested changes and do another test run with org-depend, 
expecting error:
emacs-snapshot --batch --load /home/vk/.emacs.d/init.el --eval '(progn 
(my-export-agenda))'
   114.38s user 1.53s system 99% cpu 1:56.33 total

→ much faster result without error (contrary to expection)


→ the two setting changes do not have an effect for now regarding
  error/no error due to the fact that I can not reproduce the
  error.

Retrying when error re-appears.

-- 
get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <
Personal Information Management > http://Karl-Voit.at/tags/pim/
Emacs-related > http://Karl-Voit.at/tags/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]