From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: condition-case Date: Mon, 13 Dec 2010 11:12:31 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vd2xmwao.fsf@lifelogs.com> References: <33e7a222-992c-4fc2-bbd2-d987a0d4d9b1@j32g2000prh.googlegroups.com> <877hfxokvh.fsf@lola.goethe.zz> <4d4ecf83-ffd8-43d9-8c27-4123856273e9@21g2000prv.googlegroups.com> <0b6e72ef-a605-4ac1-bc71-f3e180f162fb@j18g2000prn.googlegroups.com> <87r5e3zxyw.fsf@kuiper.lan.informatimago.com> <878w06lqcf.fsf@lifelogs.com> <8762vaodaw.fsf@kuiper.lan.informatimago.com> <8762v6ho6q.fsf@lifelogs.com> <87hbepd50p.fsf@lifelogs.com> <87pqtc9sd5.fsf@lifelogs.com> <877hfh4gl5.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292280972 6411 80.91.229.12 (13 Dec 2010 22:56:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Dec 2010 22:56:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 13 23:56:06 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSHJN-0006iy-NN for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Dec 2010 23:56:05 +0100 Original-Received: from localhost ([127.0.0.1]:55434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSHJN-0000OD-8i for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Dec 2010 17:56:05 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!newsfeed.freenet.ag!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: news.albasani.net KkSwBreCTSEhFJ75eb7mEOVKQeLyqwC2QpLN3oVP3XdQAcS8XoZ+xkoWvQDiS0O9NsySTfMfk/VBKRrMZfdzoCAxnv/zVJFWlwFqVFAnl9AwzjF2pb95qkUxnqgRWVDd Original-NNTP-Posting-Date: Mon, 13 Dec 2010 17:12:31 +0000 (UTC) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:pBkLWbpQZMi269MsWIH8J1VmX0U= sha1:AjRaAXDi2reMgGrpcz7gsAqqTS0= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Injection-Info: news.albasani.net; logging-data="p61HS9ZTl9ZUa05fXOdq4s+kstGOdxDoBR696lFI3zk6wnE6Ct5poiKdLq+jX4wnLi3zDi9UAviREvjtwsFqgar3iPCO4jj4sB+pOpEL3mVyBEoLgKyv/jhSDxIyrSNr"; mail-complaints-to="abuse@albasani.net" Original-Xref: usenet.stanford.edu gnu.emacs.help:183213 X-Mailman-Approved-At: Mon, 13 Dec 2010 17:55:19 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77472 Archived-At: On Fri, 10 Dec 2010 16:43:46 -0500 Stefan Monnier wrote: PJB> There's no condition-bind to wrap over. PJB> I'm not sure it would be possible to implement handler-bind without PJB> patching the virtual machine. >> Stefan, WDYT? Is `condition-bind' possible in today's GNU Emacs? I >> mean does the VM have any constraints that would block it? SM> There used to be some allowance made in the C code for such a feature, SM> but since it was never used it bit-rotted and has "recently" been more SM> actively removed. So adding a condition-bind or something like that SM> would require a fair bit of work, I think. There is still some support SM> for part of it since errors can jump into the debugger, but currently SM> the debugger cannot return to the source of the error, it can only jump SM> back up the stack like condition-case does. I also notice no one has complained in the last few years that `condition-case' is insufficient. So maybe `condition-bind' is simply not necessary. Ted