From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Backtrace and enhanced catch Date: Sat, 04 Feb 2006 15:41:55 +0000 Message-ID: <8764nv167w.fsf@ossau.uklinux.net> References: <200511301616.22258.bkorb@gnu.org> <87wthpkyan.fsf@ossau.uklinux.net> <43B69F41.6030509@xs4all.nl> <87hd8pb8o7.fsf@ossau.uklinux.net> <87lkxy3abo.fsf@ossau.uklinux.net> <877j9i31gc.fsf@ossau.uklinux.net> <87acebhf1o.fsf@ossau.uklinux.net> <871wyu8t5e.fsf@zip.com.au> <87k6cl8o5c.fsf@ossau.uklinux.net> <87k6cgi2jo.fsf@zip.com.au> <874q3i65q3.fsf@ossau.uklinux.net> <87slr06jdk.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139090470 30746 80.91.229.2 (4 Feb 2006 22:01:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2006 22:01:10 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Feb 04 23:01:08 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5VSq-0001cc-OY for guile-devel@m.gmane.org; Sat, 04 Feb 2006 23:01:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5VId-0002FH-2Z for guile-devel@m.gmane.org; Sat, 04 Feb 2006 16:50:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F5UoK-0001l8-1a for guile-devel@gnu.org; Sat, 04 Feb 2006 16:19:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F5UaC-0005Rq-JZ for guile-devel@gnu.org; Sat, 04 Feb 2006 16:04:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5UYR-0004nG-R1 for guile-devel@gnu.org; Sat, 04 Feb 2006 16:02:47 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F5PdB-0007PX-Rc for guile-devel@gnu.org; Sat, 04 Feb 2006 10:47:22 -0500 Original-Received: from laruns (host86-129-147-232.range86-129.btcentralplus.com [86.129.147.232]) by mail3.uklinux.net (Postfix) with ESMTP id 20B40409FB0 for ; Sat, 4 Feb 2006 15:44:50 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id CCD859F92B for ; Sat, 4 Feb 2006 15:41:55 +0000 (GMT) Original-To: guile-devel@gnu.org In-Reply-To: <87slr06jdk.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 04 Feb 2006 11:46:31 +1100") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5655 Archived-At: Kevin Ryde writes: > Neil Jerram writes: >> >> The spec for catch's pre-unwind-handler would be that it can exit >> either normally or non-locally. If it exits normally, Guile unwinds >> (dynamic context + stack) and then calls the normal (post-unwind) >> handler. If it exits non-locally, that exit determines the >> continuation. > > Hmm. Now my head hurts. :-) Sorry about that! Well anyway, I feel pretty confident about it all, and the code's now in CVS. > I'm not so sure what I want any more (apart from a reliable > backtrace). That's working now. >> But if we want to be ultra-cautious we could keep lazy-catch as it >> is and introduce `with-pre-unwind-handler' (or something) with the >> proposed semantics. > > Better be pretty strictly compatible, it's hairy enough without > changing between guile versions. Yes, that's what I thought too, so I took the "ultra-cautious" approach. Regards, Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel