0

I have a folder contains .zip, say a.zip, and org-babel python enabled, then go to that folder and start emacs, I saw error message as below:

Variable binding depth exceeds max-specpdl-size



$ mkdir a.zip
$ cd a.zip
$ emacs

enter image description here

What's the reason emacs care about folder name? any way to prevent such error?

lucky1928
  • 1,622
  • 8
  • 28
  • 2
    Does it happen when you start `emacs -Q`? If it does please add the emacs version and operating system, otherwise you can bisect your init file to find the cause. – matteol Dec 19 '22 at 18:14
  • What @matteol said. – Drew Dec 19 '22 at 18:23
  • @matteol, exactly a init.el issue, but how can I figure out what's the problem from init.el file? – lucky1928 Dec 19 '22 at 20:09
  • See `Step 2` in the answer to [this question](https://emacs.stackexchange.com/questions/28429/how-do-i-troubleshoot-emacs-problems) for some guidance on how to bisect your init file. – NickD Dec 19 '22 at 20:20
  • @NickD Great, it caused by org-babel python support, if remove (python . t) from org-babel-load-languages, no such error anymore! – lucky1928 Dec 19 '22 at 22:38
  • I’m voting to close this question because it was due to user's init file. – Drew Dec 19 '22 at 23:20
  • I would like to say it's a issue of python org-babel. – lucky1928 Dec 20 '22 at 02:13
  • The problem is that without additional investigation, you cannot really say that: e.g. I have python enabled in my Org babel configuration and I don't see a problem. So it's more complicated than you think and without (lots of) additional information, we really can't say what exactly is causing the problem. – NickD Dec 20 '22 at 12:32

0 Answers0