hi. with a recent org-mode (*), `org-capture` seems to crash with the message: ---- Variable binding depth exceeds max-specpdl-size ---- this happens with (a suitably -L'd) `emacs -Q` - M-x org-capture - t - then crashes after this crash, i seem to be unable to enter the debugger, etc. (`(setq debug-on-error t)`) doesn't work after this crash. my only recourse appears to be to exit emacs. stepping through the code, the last routine was`org-capture-fill-template`. stepping through this routine, it gets as far as `(org-mode))` in (i assume) ---- (let ((org-inhibit-startup t)) ---- and, in "that" routine, the (presumably) infinite recursion/loop happens. i'm loathe (intimidated) to follow the trail into the main code. i wonder if anyone might have any ideas? cheers, Greg (*) Org mode version 9.5 (9.5-ga149fd @ /home/minshall/.emacs.d/straight/build/org/)
Greg Minshall <minshall@umich.edu> writes: > hi. with a recent org-mode (*), `org-capture` seems to crash with the > message: > ---- > Variable binding depth exceeds max-specpdl-size > ---- Looks like https://list.orgmode.org/87mtn2za37.fsf@localhost/T/#m1c8761c1b2aaee2642f71367054a5065f9bf92f0 Are you on Emacs 24? Can you try to run make before your emacs -Q -L...? Best, Ihor
Greg Minshall <minshall@umich.edu> writes:
> hi. with a recent org-mode (*), `org-capture` seems to crash with the
> message:
> ----
> Variable binding depth exceeds max-specpdl-size
> ----
>
> this happens with (a suitably -L'd) `emacs -Q`
> - M-x org-capture
> - t
> - then crashes
Fixed on current main (5315773e8).
Best,
Ihor
Ihor, > Fixed on current main (5315773e8). confirmed. thanks! from a previous e-mail (but, for my future reference): > Are you on Emacs 24? i'm on ---- GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-26 ---- > Can you try to run make before your emacs -Q -L...? make of org mode? (remote possibility: emacs?) cheers, Greg
Greg Minshall <minshall@umich.edu> writes:
>> Can you try to run make before your emacs -Q -L...?
>
> make of org mode? (remote possibility: emacs?)
Org mode build process is not standard. Org mode needs to create
autoload file and generate documentation in addition to normal
byte-compilation.
Best,
Ihor
Ihor,
> > make of org mode? (remote possibility: emacs?)
>
> Org mode build process is not standard. Org mode needs to create
> autoload file and generate documentation in addition to normal
> byte-compilation.
thanks. does that mean running "make" in the org directory?
cheers, Greg
Greg Minshall <minshall@umich.edu> writes: > Ihor, > >> > make of org mode? (remote possibility: emacs?) >> >> Org mode build process is not standard. Org mode needs to create >> autoload file and generate documentation in addition to normal >> byte-compilation. > > thanks. does that mean running "make" in the org directory? If you are pulling Org mode from git and not using straight.el, yes. Also, see https://orgmode.org/org.html#Installation Best, Ihor