From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Davison Newsgroups: gmane.emacs.bugs Subject: bug#5662: flet not undone on lisp nesting error Date: Sun, 28 Feb 2010 21:30:49 -0500 Message-ID: <87fx4k4vty.fsf@stats.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267446749 441 80.91.229.12 (1 Mar 2010 12:32:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Mar 2010 12:32:29 +0000 (UTC) To: 5662@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 01 13:32:22 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm4nI-0008Vg-U2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Mar 2010 13:32:17 +0100 Original-Received: from localhost ([127.0.0.1]:48203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nm4nI-0008Ne-9p for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Mar 2010 07:32:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nlvle-0004rD-JE for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:53:58 -0500 Original-Received: from [140.186.70.92] (port=57466 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nlvlc-0004qx-JZ for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:53:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nlvlc-0003Tc-3h for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:53:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44029) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nlvlb-0003TX-W0 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:53:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NlvSM-0002wI-IR; Sun, 28 Feb 2010 21:34:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Dan Davison Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Mar 2010 02:34:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5662 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126741079211267 (code B ref -1); Mon, 01 Mar 2010 02:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Mar 2010 02:33:12 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlvRY-0002vg-0j for submit@debbugs.gnu.org; Sun, 28 Feb 2010 21:33:12 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlvPb-0002tz-1b for submit@debbugs.gnu.org; Sun, 28 Feb 2010 21:31:13 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:45954 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlvPV-0005jS-V6 for submit@debbugs.gnu.org; Sun, 28 Feb 2010 21:31:07 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NlvPO-0006wG-J1 for submit@debbugs.gnu.org; Sun, 28 Feb 2010 21:31:02 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:42106) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NlvPO-0006vl-Cm for submit@debbugs.gnu.org; Sun, 28 Feb 2010 21:30:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlvPN-0005Ih-M5 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:30:57 -0500 Original-Received: from [140.186.70.92] (port=37827 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlvPL-0005IB-RV for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:30:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlvPJ-0001Ls-Li for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:30:55 -0500 Original-Received: from markov.stats.ox.ac.uk ([163.1.210.1]:63234) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlvPJ-0001Ln-Ca for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 21:30:53 -0500 Original-Received: from blackcap.stats.ox.ac.uk (blackcap.stats [163.1.210.5]) by markov.stats.ox.ac.uk (8.13.6/8.13.6) with ESMTP id o212Up3b013181 for ; Mon, 1 Mar 2010 02:30:51 GMT Original-Received: by blackcap.stats.ox.ac.uk (Postfix, from userid 5158) id D31463201D; Mon, 1 Mar 2010 02:30:51 +0000 (GMT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sun, 28 Feb 2010 21:33:10 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 28 Feb 2010 21:34:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 01 Mar 2010 07:32:10 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35369 Archived-At: If I trigger a lisp nesting error with an infinite recursion inside a let and an flet binding, then the effects of the flet are not undone, resulting in a change of binding at the top-level. (defun g () 'g-orig) (setq a 'a-orig) (defun h () (let ((a 'a-new)) (flet ((g () 'g-new)) (h)))) (h) ;; <-- Lisp nesting exceeds `max-lisp-eval-depth' (g) ;; g-new ! a ;; a-orig Dan If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-10 on vernadsky, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10604000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Article Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t show-paren-mode: t recentf-mode: t yas/minor-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-s M-g 1 0 0 SPC SPC q 2 0 0 C-s f l e t C-s C-s C-SPC M-> M-w M-x r e p o r t b u Recent messages: End of message nnimap: Setting marks in INBOX...done No more unread newsgroups Retrieving newsgroup: INBOX... nnimap: Updating info for INBOX...done Fetching headers for INBOX...done Generating summary...done Mark saved where search started Mark set Saved text from "If I trigger a lisp nesting error with a"