C-h v max-lisp-eval-depth
:
You can safely make it considerably larger than its default value, if that proves inconveniently small.
Yes, I want it to be as large as possible.
However, the docstring also says:
However, if you increase it too far, Emacs could overflow the real C stack, and crash.
I want to set it to a large enough but safe value.
How do I know this value?
If it needs to dive into C code, then simply recommend a estimated value that is absolutely safe and reasonably large.