From: Eason Huang <aqua0210@foxmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 55396@debbugs.gnu.org
Subject: bug#55396: 29.0.50; project-find-file don't work on a project with many submodules
Date: Sun, 15 May 2022 12:09:36 +0800 [thread overview]
Message-ID: <tencent_5678FD9AFDE68D5CDB8B61C917D2C5C60A06@qq.com> (raw)
In-Reply-To: <59b18871-823a-6f95-fbe3-0a697e1e2cc3@yandex.ru> (Dmitry Gutov's message of "Sun, 15 May 2022 04:48:00 +0300")
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 13.05.2022 15:56, Eason Huang wrote:
>> I try to use `M-x project-find-file` in my `.emacs.d` config project. It
>> takes a long time(about 1 minutes), and finally get a error as bellow:
>> ```
>> process-file: Variable binding depth exceeds max-specpdl-size
>> ```
>> The .emacs.d project include 95 submudules of Git, is this too huge
>> for
>> project.el?
>
> Hi! That's a lot, but the above error indicates excess recursion. Do
> the submodules in your repo in turn have checked out submodules
> inside, and so on?
I try another project with 42 submodules, when I use `Borg` to install
`Corfu` extensions, I need to set two load-path on `.gitmodules`. And this
setting will trigger the same issue.
```
[submodule "corfu"]
load-path = .
load-path = extensions
path = lib/corfu
url = git@github.com:minad/corfu.git
```
if I remove the load-path, just leave it as below, project.el wokrs
well.
```
[submodule "corfu"]
path = lib/corfu
url = git@github.com:minad/corfu.git
```
May be the above infomation can help you.
> As a workaround, you can set project-vc-merge-submodules to nil (at
> least temporarily, until we get a better fix).
>
Thanks, I try to set project-vc-merge-submodules to nil, and It works.
By the way, I also tried `projectile` on the huge .emacs.d, It works but
can feel the latency.
--
Eason Huang
next prev parent reply other threads:[~2022-05-15 4:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-13 12:56 bug#55396: 29.0.50; project-find-file don't work on a project with many submodules Eason Huang
2022-05-15 1:48 ` Dmitry Gutov
2022-05-15 4:09 ` Eason Huang [this message]
2022-06-12 22:17 ` Dmitry Gutov
2022-06-13 15:00 ` Eason Huang
2022-06-14 1:03 ` Dmitry Gutov
2022-06-14 11:22 ` Eason Huang
2022-06-14 12:47 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_5678FD9AFDE68D5CDB8B61C917D2C5C60A06@qq.com \
--to=aqua0210@foxmail.com \
--cc=55396@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).