From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <2020-02-24T14-50-59@devnull.Karl-Voit.at> References: <2020-01-19T13-36-19@devnull.Karl-Voit.at> <87ftfhy2hj.fsf@gnu.org> <2020-02-19T11-40-31@devnull.Karl-Voit.at> <87ftf636pj.fsf@gnu.org> <2020-02-20T10-13-04@devnull.Karl-Voit.at> <87y2sx1rol.fsf@gnu.org> <2020-02-20T15-00-06@devnull.Karl-Voit.at> <87o8tt3zts.fsf@gnu.org> <2020-02-21T09-18-00@devnull.Karl-Voit.at> <87ftf14eey.fsf@gnu.org> <2020-02-23T17-20-15@devnull.Karl-Voit.at> <87blpoz81x.fsf@gnu.org> Reply-To: Karl Voit Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45111) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6EDO-0004Xy-6e for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 08:56:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6EDN-0001qp-1c for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 08:56:06 -0500 Received: from ciao.gmane.io ([159.69.161.202]:53700) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j6EDM-0001qU-Qo for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 08:56:04 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1j6EDK-0000HU-33 for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 14:56:02 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi Bastien, * Bastien wrote: > > Karl Voit 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/