From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.user Subject: Re: reporting 'system-error informatively Date: Mon, 21 Oct 2002 02:13:30 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-user-admin@gnu.org Message-ID: References: <87r8ekx03e.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035181043 1018 80.91.224.249 (21 Oct 2002 06:17:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 06:17:23 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 183VsP-0000Fq-00 for ; Mon, 21 Oct 2002 08:17:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 183VpS-0001Lk-00; Mon, 21 Oct 2002 02:14:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 183Voo-0001Ds-00 for guile-user@gnu.org; Mon, 21 Oct 2002 02:13:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 183Vol-0001DX-00 for guile-user@gnu.org; Mon, 21 Oct 2002 02:13:38 -0400 Original-Received: from multivac.student.cwru.edu ([129.22.96.25] helo=multivac.cwru.edu) by monty-python.gnu.org with smtp (Exim 4.10) id 183Vok-0001DH-00 for guile-user@gnu.org; Mon, 21 Oct 2002 02:13:34 -0400 Original-Received: (qmail 21282 invoked by uid 500); 21 Oct 2002 06:13:52 -0000 Original-To: guile-user@gnu.org In-Reply-To: <87r8ekx03e.fsf@zagadka.ping.de> (Marius Vollmer's message of "20 Oct 2002 23:38:13 +0200") Mail-Copies-To: nobody Mail-Followup-To: guile-user@gnu.org Original-Lines: 18 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1245 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1245 Marius Vollmer wrote: > (define (handle-error key args) > (let ((text (call-with-output-string > (lambda (cep) > (if the-last-stack > (display-backtrace the-last-stack cep) > (display "no backtrace available.\n" cep)) It seems this would still require parsing. Is there any way to get the arguments themselves, as plain Scheme values instead of text? frame-arguments sounds promising; I'm just not sure how to use it. I tried this: (make-stack (call-with-current-continuation identity)) But got a segfault. Dunno if that was supposed to do anything useful; I was just messing around. paul _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user