From: Richard Stallman <rms@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: segfault after changing max-lisp-eval-depth and max-specpdl-size
Date: Thu, 30 May 2002 11:05:22 -0600 (MDT) [thread overview]
Message-ID: <200205301705.g4UH5MG13602@aztec.santafe.edu> (raw)
In-Reply-To: <20020528212238.GA489593@bruegel.RZ.TU-Ilmenau.DE> (message from Paul Stoeber on Tue, 28 May 2002 23:22:38 +0200)
That means I'll have to use let/while/setq instead of recursion
in order to "Avoid arbitrary limits", which produces less
enjoyable code.
Although max-lisp-eval-depth is an arbitrary limit, the non-arbitrary
limit of the stack size lies behind it. A program that needs to
recurse for each element in a long or deep data structure really can't
work, in the absence of a tail-recursive interpreter. If we succeed
in rehosting Emacs on Guile, which is a long-term plan, tail-recursion
would work. Until that day, you simply have to use iteration.
prev parent reply other threads:[~2002-05-30 17:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-27 15:53 segfault after changing max-lisp-eval-depth and max-specpdl-size Paul Stoeber
2002-05-28 20:23 ` Richard Stallman
2002-05-28 21:22 ` Paul Stoeber
2002-05-30 17:05 ` Richard Stallman [this message]
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=200205301705.g4UH5MG13602@aztec.santafe.edu \
--to=rms@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
/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).