emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture broken?
@ 2021-10-21 15:22 Greg Minshall
  2021-10-21 15:34 ` Ihor Radchenko
  2021-10-21 16:02 ` Ihor Radchenko
  0 siblings, 2 replies; 7+ messages in thread
From: Greg Minshall @ 2021-10-21 15:22 UTC (permalink / raw)
  To: emacs-orgmode

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/)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-capture broken?
  2021-10-21 15:22 org-capture broken? Greg Minshall
@ 2021-10-21 15:34 ` Ihor Radchenko
  2021-10-21 16:02 ` Ihor Radchenko
  1 sibling, 0 replies; 7+ messages in thread
From: Ihor Radchenko @ 2021-10-21 15:34 UTC (permalink / raw)
  To: Greg Minshall; +Cc: emacs-orgmode

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-capture broken?
  2021-10-21 15:22 org-capture broken? Greg Minshall
  2021-10-21 15:34 ` Ihor Radchenko
@ 2021-10-21 16:02 ` Ihor Radchenko
  2021-10-21 18:52   ` Greg Minshall
  1 sibling, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2021-10-21 16:02 UTC (permalink / raw)
  To: Greg Minshall; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-capture broken?
  2021-10-21 16:02 ` Ihor Radchenko
@ 2021-10-21 18:52   ` Greg Minshall
  2021-10-23  6:30     ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Minshall @ 2021-10-21 18:52 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-capture broken?
  2021-10-21 18:52   ` Greg Minshall
@ 2021-10-23  6:30     ` Ihor Radchenko
  2021-10-23 10:29       ` Greg Minshall
  0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2021-10-23  6:30 UTC (permalink / raw)
  To: Greg Minshall; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-capture broken?
  2021-10-23  6:30     ` Ihor Radchenko
@ 2021-10-23 10:29       ` Greg Minshall
  2021-10-23 11:40         ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Minshall @ 2021-10-23 10:29 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-capture broken?
  2021-10-23 10:29       ` Greg Minshall
@ 2021-10-23 11:40         ` Ihor Radchenko
  0 siblings, 0 replies; 7+ messages in thread
From: Ihor Radchenko @ 2021-10-23 11:40 UTC (permalink / raw)
  To: Greg Minshall; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-23 11:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-21 15:22 org-capture broken? Greg Minshall
2021-10-21 15:34 ` Ihor Radchenko
2021-10-21 16:02 ` Ihor Radchenko
2021-10-21 18:52   ` Greg Minshall
2021-10-23  6:30     ` Ihor Radchenko
2021-10-23 10:29       ` Greg Minshall
2021-10-23 11:40         ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).