From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_internal_stack_catch Date: Fri, 01 Jul 2011 12:29:27 +0200 Message-ID: <87k4c28faw.fsf@pobox.com> References: <20110506142104.1ZFS4.38448.root@cdptpa-web12-z02> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1309521538 18096 80.91.229.12 (1 Jul 2011 11:58:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 11:58:58 +0000 (UTC) Cc: guile-devel@gnu.org To: Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jul 01 13:58:54 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QccN1-0001pu-31 for guile-devel@m.gmane.org; Fri, 01 Jul 2011 13:58:51 +0200 Original-Received: from localhost ([::1]:44409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QccN0-0004ta-2p for guile-devel@m.gmane.org; Fri, 01 Jul 2011 07:58:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcbjI-0002n0-V3 for guile-devel@gnu.org; Fri, 01 Jul 2011 07:17:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcbjG-0002ug-NK for guile-devel@gnu.org; Fri, 01 Jul 2011 07:17:48 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:39556 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcbjG-0002uU-8r for guile-devel@gnu.org; Fri, 01 Jul 2011 07:17:46 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6A7DA4577; Fri, 1 Jul 2011 07:20:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=JqmnUkQ8me20SNY2LfKFbbP4xYQ=; b=Vrmu5d gZlHxXUrcIYl1gsfT9+zUix3T4dAThnauVL+UR/1kyXJpefdV6DjGYCcWlzJBlSW hnq01sG1eUHwCnA68Hop0c1Dt0NJbbKpGosUbWhRHoJ4m78ee87n4Id9VbubK3iW 9rI2UjP+paxaYm4E8bBR1JSUoPkimXK+NqQxc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=xZl6iOY986rByJsSD6zeDHny342M4wV2 4NY8yScOwNupe5+zZdSsPrgvWUDIGPNXMuWqjRKt2f17KDutxhQOEoIwQwm5lUG/ k4ACtsKwKiK8MPIfznuEk9OTFDm5UUgIrBAvcd/Xb7mOultAXjIqvCfF8DMyB4T2 mXwozjl+fcs= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 619474576; Fri, 1 Jul 2011 07:20:00 -0400 (EDT) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id A08CC4575; Fri, 1 Jul 2011 07:19:59 -0400 (EDT) In-Reply-To: <20110506142104.1ZFS4.38448.root@cdptpa-web12-z02> (dsmich@roadrunner.com's message of "Fri, 6 May 2011 10:21:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 0EDA1F34-A3D4-11E0-85F2-5875C023C68D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12625 Archived-At: On Fri 06 May 2011 16:21, writes: > I've been slowly (very slowly!) debitrotting scwm. Cool! I've been (very slowly!) catching up to the present with regards to guile-devel. > There is currently a deprecation warning for scm_internal_stack_catch. > The warning says to talk to guile-devel. So I'm talking. ;^) What > should this be replaced with? Here's the deal. 1) Internal_stack_catch uses the the-last-stack fluid, which Guile no longer has. 2) It is also a "lazy catch", meaning that it unwinds the dynamic state to the catch, but doesn't unwind the stack. Guile doesn't allow this any more. This may or may not have repercussions for you. Instead, in Guile 2.0, your best bet is to use `call-with-error-handling'. See "Pre-Unwind Debugging" in the manual, for more. Regards, Andy -- http://wingolog.org/