From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Neil Jerram" Newsgroups: gmane.lisp.guile.user Subject: Re: with-throw-handler -- how did I go this far without it Date: Sat, 8 Nov 2008 00:13:09 +0100 Message-ID: <49dd78620811071513w14fe1869pc2f867f00dcea211@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226099617 4489 80.91.229.12 (7 Nov 2008 23:13:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2008 23:13:37 +0000 (UTC) Cc: guile-user To: "Andy Wingo" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Nov 08 00:14:40 2008 connect(): Connection refused Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KyaXH-0004Ye-UT for guile-user@m.gmane.org; Sat, 08 Nov 2008 00:14:40 +0100 Original-Received: from localhost ([127.0.0.1]:44152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyaWA-0000r2-C7 for guile-user@m.gmane.org; Fri, 07 Nov 2008 18:13:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyaVs-0000ql-LJ for guile-user@gnu.org; Fri, 07 Nov 2008 18:13:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyaVr-0000qT-4N for guile-user@gnu.org; Fri, 07 Nov 2008 18:13:12 -0500 Original-Received: from [199.232.76.173] (port=38852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyaVr-0000qQ-1B for guile-user@gnu.org; Fri, 07 Nov 2008 18:13:11 -0500 Original-Received: from rv-out-0708.google.com ([209.85.198.248]:42133) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KyaVq-00021C-RQ for guile-user@gnu.org; Fri, 07 Nov 2008 18:13:11 -0500 Original-Received: by rv-out-0708.google.com with SMTP id k29so1578091rvb.6 for ; Fri, 07 Nov 2008 15:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=elgD8ivSQlNFjN+cPyN+GAMW/Mj7QGKlojfmQ0Jmj0I=; b=vSxLq8LWJ2EB2chHIARBcdnTXVCtCzE5Ox/yzNwqPsWNZ+cnVQ3Q2H/LFdJ48BycCa mQ20VcgQ8VpK7sf24C4VxNdDhVSdvyRbK8a2r3Ldqn00+YLphKRqeSbLV45EXiqTTc2Y sMuzXuL+JxcH+dDTclAmPs6xbDBdgmfGvafoc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=whhNAYMQVm4SqiNEpkUXI/Rd0ivSau0Ox2cP1+3/CgpHmvEVsXuZYYo+EGvI/RVKuK a4JkeUX/HgvSABwqqHqNPLOJTNKphoU4nuq3WSYHPzhvqH4X9kpRGx5cunMYzbUxKRD7 rWlC7fHLaFkp49g4HfLqm/OBYJBTu53t6DHaI= Original-Received: by 10.140.161.11 with SMTP id j11mr2075811rve.86.1226099589205; Fri, 07 Nov 2008 15:13:09 -0800 (PST) Original-Received: by 10.140.142.15 with HTTP; Fri, 7 Nov 2008 15:13:09 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6853 Archived-At: On 06/11/2008, Andy Wingo wrote: > > In short: arrrrgh! I've wanted this for years and I didn't know it > existed! I've had to put up with crap backtraces for a long time, just > because some intermediate code did a catch and rethrow, losing the > initial context and thus the backtrace -- argh. It's good to know that it's useful, but I don't completely understand. lazy-catch also preserves the backtrace, and that's been there for ages. Neil