From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: PLEASE: debugging embedded guile code Date: Fri, 16 May 2003 16:21:59 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <87fzneoadk.fsf@raven.i.defaultvalue.org> References: <20030225093608.6a8935f8.dsmith@altustech.com> <3EAAB691.6AD935B5@veritas.com> <3EAAE877.7140ECB6@veritas.com> <3EAC5266.23DEEB7F@veritas.com> <3EAD89DB.9B0A1367@veritas.com> <3EC51D90.DCD7EC5E@veritas.com> <3EC54994.50ED679A@veritas.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053120184 6792 80.91.224.249 (16 May 2003 21:23:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 21:23:04 +0000 (UTC) Cc: Neil Jerram Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri May 16 23:23:02 2003 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 19GmfH-0001kC-00 for ; Fri, 16 May 2003 23:22:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Gmgs-0004qd-04 for guile-user@m.gmane.org; Fri, 16 May 2003 17:24:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19Gmf9-0002UW-00 for guile-user@gnu.org; Fri, 16 May 2003 17:22:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19Gmes-0001Yy-00 for guile-user@gnu.org; Fri, 16 May 2003 17:22:32 -0400 Original-Received: from dsl093-098-016.wdc1.dsl.speakeasy.net ([66.93.98.16] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GmeP-0000jo-00; Fri, 16 May 2003 17:22:01 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 08F741855; Fri, 16 May 2003 16:22:00 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id DE67C215002; Fri, 16 May 2003 16:21:59 -0500 (CDT) Original-To: Bruce Korb In-Reply-To: <3EC54994.50ED679A@veritas.com> (Bruce Korb's message of "Fri, 16 May 2003 13:27:00 -0700") User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) Original-cc: guile-devel@gnu.org Original-cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1965 gmane.lisp.guile.devel:2373 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2373 Bruce Korb writes: >> Does this make sense? > > Except for this: > ERROR: In procedure apply: > ERROR: Wrong type argument in position 1: #> I think perhaps this: >> SCM str = gh_str02scm( "...whatever..." ); >> SCM proc = scm_c_lookup( "eval-client-input" ); >> scm_call_1(proc, str); Should be SCM str = gh_str02scm( "...whatever..." ); SCM proc_var = scm_c_lookup( "eval-client-input" ); scm_call_1(SCM_VARIABLE_REF(proc), str); I believe scm_c_lookup returns variables rather than values. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user