all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Hongyi Zhao <hongyi.zhao@gmail.com>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: RE: [External] : `max-specpdl-size' and `max-lisp-eval-depth'
Date: Sun, 26 Sep 2021 03:53:54 +0000	[thread overview]
Message-ID: <SJ0PR10MB548832048983D53CE693B511F3A69@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <CAGP6POKAqR_XXfijMnwZ_4nxTpkdEoT8ABNLJKzq3kLM-WLFGA@mail.gmail.com>

> I noticed the following messages triggered frequently by Emacs:
> 
> File mode specification error: (error Variable binding depth exceeds
> max-specpdl-size)
> Emacs: nesting exceeds `max-lisp-eval-depth'
> 
> Any hints/suggestions or rule of thumb to set these variables?

You generally shouldn't need to change them.
You're likely coding an infinite recursion, so
the stack overflows.  Check your code - or
narrow the problem down to some bit of code
and post it here, if you can't see how/why
you've cause an infinite recursion.

  parent reply	other threads:[~2021-09-26  3:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26  1:48 `max-specpdl-size' and `max-lisp-eval-depth' Hongyi Zhao
2021-09-26  2:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-26  6:33   ` Hongyi Zhao
2021-09-26  7:13     ` tomas
2021-09-26 11:26       ` Hongyi Zhao
2021-09-26 11:55         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-26 13:04         ` Eli Zaretskii
2021-09-26 15:01           ` Hongyi Zhao
2021-09-28 10:50             ` Stephen Berman
2021-09-28 11:03               ` Hongyi Zhao
2021-09-28 11:05               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-28 11:20                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-28 13:49                 ` tomas
2021-09-28 14:08                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-28 14:19                     ` tomas
2021-09-28 11:14               ` Lars Ingebrigtsen
2021-09-28 11:23                 ` Stephen Berman
2021-09-29  5:53                   ` Lars Ingebrigtsen
2021-09-26  3:53 ` Drew Adams [this message]
2021-09-26  4:09   ` [External] : " Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-28  3:45     ` Google vi (was: Re: [External] : `max-specpdl-size' and `max-lisp-eval-depth') Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-26  7:09   ` [External] : `max-specpdl-size' and `max-lisp-eval-depth' Hongyi Zhao

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR10MB548832048983D53CE693B511F3A69@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hongyi.zhao@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.