From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.help Subject: Re: Variable binding depth exceeds max-specpdl-size Date: Mon, 07 Mar 2016 08:51:38 +0100 Organization: Freie Universitaet Berlin Message-ID: <871t7mu3n9.fsf@hornfels.zedat.fu-berlin.de> References: <871t7q2nh1.fsf@hornfels.zedat.fu-berlin.de> <87bn6uyuhj.fsf@alphaville.usersys.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457337320 23810 80.91.229.3 (7 Mar 2016 07:55:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2016 07:55:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 08:55:19 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acq0c-0005lr-ML for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2016 08:55:18 +0100 Original-Received: from localhost ([::1]:54241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acq0c-0000iY-1b for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2016 02:55:18 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 79 Original-X-Trace: news.uni-berlin.de YvOSGomguyMx4u7fjYyM0wsmJrjfkgc28ARqy0SZ6jTUGm Cancel-Lock: sha1:JlqBXUq0re4M6XQZXuiT4XzUhco= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:217197 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109490 Archived-At: Hi, Pierre Lorenzon writes: > Hi > > > > From: Nick Dokos > Subject: Re: Variable binding depth exceeds max-specpdl-size > Date: Fri, 04 Mar 2016 13:21:28 -0500 > >> "Loris Bennett" writes: >> >>> Hi, >>> >>> I sent this question to the Org list yesterday, so apologies for >>> crossposting, but it probably is more of an Emacs issue. >>> >>> When trying to export my Org calendar in batch mode, I get the >>> following: >>> >>> $ emacs /home/loris/org/gtd.org -batch -eval '(progn >>> (package-initialize) (org-icalendar-export-to-ics))' --kill >>> Loading 00debian-vars... >>> Loading /etc/emacs/site-start.d/50autoconf.el (source)... >>> Loading /etc/emacs/site-start.d/50bbdb.el (source)... >>> Loading /etc/emacs/site-start.d/50cmake-data.el (source)... >>> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... >>> Loading debian-ispell... >>> Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... >>> Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... >>> Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)... >>> Loading /etc/emacs/site-start.d/50emacs-jabber.el (source)... >>> Loading /usr/share/emacs/site-lisp/emacs-jabber/jabber-autoloads.el (source)... >>> Loading /etc/emacs/site-start.d/50ess.el (source)... >>> Loading /etc/emacs/site-start.d/50python-docutils.el (source)... >>> Loading /etc/emacs/site-start.d/50yaml-mode.el (source)... >>> Loading /etc/emacs/site-start.d/51debian-el.el (source)... >>> Variable binding depth exceeds max-specpdl-size >>> >>> This is with Org-mode version 8.3.4 on Emacs 24.4.1. >>> >>> Any ideas? >>> >> >> Can you reproduce it without -batch? If so, it will be easier >> to debug. > > > yes moreover you might try the --no-site-file option if it > works. I know that I encounter problem with all these initial > files set by debian whose content is more or less not known. > > Sure if one of these files is absolutely needed to accomplish > the task you want, you should try to launch only this one. Thanks for the advice. With the following (a minimal .emacs, no -batch and --no-site-file), the calendar data are exported successfully: emacs --no-site-file -l .emacs_minmal /home/loris/org/gtd.org -eval '(progn (package-initialize) (org-icalendar-export-to-ics))' --kill where .emacs_minmal just contains (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) If I add the -batch flag, I get the error and no export takes place: emacs --no-site-file -l .emacs_minmal /home/loris/org/gtd.org -batch -eval '(progn (package-initialize) (org-icalendar-export-to-ics))' --kill Variable binding depth exceeds max-specpdl-size What else could I try to identify the problem? Cheers, Loris -- This signature is currently under construction.