From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tobias Gerdin Newsgroups: gmane.lisp.guile.user Subject: Aborting debugger prompt Date: Thu, 13 Oct 2011 21:39:21 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1318534772 17093 80.91.229.12 (13 Oct 2011 19:39:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2011 19:39:32 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 13 21:39:29 2011 Return-path: Envelope-to: guile-user@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 1RER7p-0007I2-6q for guile-user@m.gmane.org; Thu, 13 Oct 2011 21:39:29 +0200 Original-Received: from localhost ([::1]:58991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RER7o-0008Sd-Nq for guile-user@m.gmane.org; Thu, 13 Oct 2011 15:39:28 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RER7k-0008SN-Ig for guile-user@gnu.org; Thu, 13 Oct 2011 15:39:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RER7j-0004ex-IS for guile-user@gnu.org; Thu, 13 Oct 2011 15:39:24 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:62225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RER7j-0004el-AZ for guile-user@gnu.org; Thu, 13 Oct 2011 15:39:23 -0400 Original-Received: by wyi40 with SMTP id 40so2637796wyi.0 for ; Thu, 13 Oct 2011 12:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=swOmGeZczZlTAWUQFWIt6WAXRnPwxYSKtErr2eitDbE=; b=kXP9CTzpks/G5IIA6uEpupGcrmcXCDCRDrDYC1qno2wMdY79+cxMvcq+MWDRa60K3p b7OAYOrFaw+yXYOucmCzBHqLksapMJvkdGVO6CGbeenQbZBt5gZ6c++WxQjDJ0zwXEKZ 11+TqTEQPGDvEd4FVkpcOocwO+ubVauU/Ap8s= Original-Received: by 10.227.136.21 with SMTP id p21mr1789222wbt.22.1318534761848; Thu, 13 Oct 2011 12:39:21 -0700 (PDT) Original-Received: by 10.180.104.97 with HTTP; Thu, 13 Oct 2011 12:39:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8876 Archived-At: Hello, When an error occurs and you are running under the REPL you are dropped into the debugger ("Entering a new prompt. .."). This is useful. But I am wondering if it is not possible to abort this prompt with a user-defined value? That is, to get hold of the continuation and applying it to some value so that the execution can continue from the point of the error. This would be convenient sometimes, and I guess this would be similar to the Common Lisp "restarts" concept. -Tobias