help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Variable binding depth exceeds max-specpdl-size


From: Loris Bennett
Subject: Re: Variable binding depth exceeds max-specpdl-size
Date: Mon, 07 Mar 2016 08:51:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi,

Pierre Lorenzon <devel@pollock-nageoire.net> writes:

> Hi
>
>
>
> From: Nick Dokos <ndokos@gmail.com>
> Subject: Re: Variable binding depth exceeds max-specpdl-size
> Date: Fri, 04 Mar 2016 13:21:28 -0500
>
>> "Loris Bennett" <loris.bennett@fu-berlin.de> 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.


reply via email to

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