From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.help Subject: Re: Emacs Lisp: Problem with nested condition-case and catch in byte compiled code Date: Mon, 18 Nov 2002 18:47:53 -0800 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5l8yzqzajd.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: main.gmane.org 1037674155 16044 80.91.224.249 (19 Nov 2002 02:49:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2002 02:49:15 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18DyRu-0004Ae-00 for ; Tue, 19 Nov 2002 03:49:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DyRy-0002cz-00; Mon, 18 Nov 2002 21:49:18 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18DyR1-0002Rr-00 for help-gnu-emacs@gnu.org; Mon, 18 Nov 2002 21:48:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18DyQz-0002RA-00 for help-gnu-emacs@gnu.org; Mon, 18 Nov 2002 21:48:19 -0500 Original-Received: from renfield.synergymicro.com ([153.105.4.30] helo=synergymicro.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DyQz-0002Ql-00 for help-gnu-emacs@gnu.org; Mon, 18 Nov 2002 21:48:17 -0500 Original-Received: from synergy.synergy.encinitas.ca.us ([153.105.4.29]) by synergymicro.com (8.9.3/8.9.3) with ESMTP id SAA11574; Mon, 18 Nov 2002 18:50:10 -0800 Original-Received: from [198.17.100.22] (G-Hill-Mac [198.17.100.22]) by synergy.synergy.encinitas.ca.us (8.9.3/8.8.7) with ESMTP id SAA18782; Mon, 18 Nov 2002 18:49:58 -0800 In-Reply-To: <5l8yzqzajd.fsf@rum.cs.yale.edu> Original-To: "Stefan Monnier " , help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3739 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3739 Stefan, As you surmised, it turned out to be a bug in the interactive-p function, where it checks to see whether it is executing byte-compiled code. I submitted a formal bug report, and Richard Stallman promptly sent me a patch that fixes the problem. I assume that when he is entirely comfortable with it, he will make the patch generally available. --Greg At 7:08 PM -0500 11/18/02, Stefan Monnier >>>>> "Greg" == Greg Hill writes: >> A bit more experimentation shows that nesting a catch inside a catch or >> a condition-case inside a condition-case causes the same problem. >> I'm beginning to think I must have stumbled across a bug in either the byte >> compiler or the byte-code interpreter. > >Or more likely in the `interactive-p' function which does a lot of ad-hoc >parsing of the call-stack and is thus susceptible to funny things. > > > Stefan > >_______________________________________________ >Help-gnu-emacs mailing list >Help-gnu-emacs@gnu.org >http://mail.gnu.org/mailman/listinfo/help-gnu-emacs