From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#14922: Improving R6RS exception handling in Guile Date: Mon, 18 Nov 2013 01:16:58 -0500 Message-ID: <87y54m5j51.fsf__18916.6750446477$1384755503$gmane$org@netris.org> References: <87txixqxsp.fsf@tines.lan> <87pptf8bz2.fsf@industria.weinholt.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384755492 32589 80.91.229.3 (18 Nov 2013 06:18:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 06:18:12 +0000 (UTC) Cc: 14922-done@debbugs.gnu.org, guile-devel@gnu.org To: =?UTF-8?Q?G=C3=B6ran?= Weinholt Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Nov 18 07:18:17 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ViIA5-00071h-2F for guile-bugs@m.gmane.org; Mon, 18 Nov 2013 07:18:17 +0100 Original-Received: from localhost ([::1]:41489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViIA4-0002tG-Kf for guile-bugs@m.gmane.org; Mon, 18 Nov 2013 01:18:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViI9x-0002ss-6F for bug-guile@gnu.org; Mon, 18 Nov 2013 01:18:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViI9r-0007Jq-Of for bug-guile@gnu.org; Mon, 18 Nov 2013 01:18:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViI9r-0007Jk-Lj for bug-guile@gnu.org; Mon, 18 Nov 2013 01:18:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ViI9r-0004Z4-55 for bug-guile@gnu.org; Mon, 18 Nov 2013 01:18:03 -0500 Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Mon, 18 Nov 2013 06:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 14922 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 14922@debbugs.gnu.org, mhw@netris.org, goran@weinholt.se Original-Received: via spool by 14922-done@debbugs.gnu.org id=D14922.138475545217496 (code D ref 14922); Mon, 18 Nov 2013 06:18:02 +0000 Original-Received: (at 14922-done) by debbugs.gnu.org; 18 Nov 2013 06:17:32 +0000 Original-Received: from localhost ([127.0.0.1]:59360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViI9L-0004Y8-OK for submit@debbugs.gnu.org; Mon, 18 Nov 2013 01:17:32 -0500 Original-Received: from world.peace.net ([96.39.62.75]:47037 ident=hope2) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViI9I-0004Xu-0Q for 14922-done@debbugs.gnu.org; Mon, 18 Nov 2013 01:17:28 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1ViI9B-0005Ic-2q; Mon, 18 Nov 2013 01:17:21 -0500 In-Reply-To: <87pptf8bz2.fsf@industria.weinholt.se> ("=?UTF-8?Q?G=C3=B6ran?= Weinholt"'s message of "Thu, 15 Aug 2013 12:50:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7348 Archived-At: Sorry for the long delay on this. G=C3=B6ran Weinholt writes: > Mark H Weaver writes: > >> Hello all, >> >> I've cooked up a patch to help improve R6RS exception handling in Guile. >> >> As noted by G=C3=B6ran Weinholt in , the R6RS >> exception handlers in Guile are currently unable to catch native Guile >> exceptions. To fix this, the basic approach of this patch is to convert >> native Guile exceptions into R6RS conditions within the R6RS exception >> handlers. > [...] >> I'd be grateful for any feedback. > > I think it's the right approach to take. I've tested the patch a little > and it's an improvement over the current state of affairs. I went ahead and pushed this patch to stable-2.0. We can work on incrementally improving it from there. I'm closing this bug . Thanks! Mark