From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: PLEASE: debugging embedded guile code Date: 16 May 2003 20:23:00 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053113225 8080 80.91.224.249 (16 May 2003 19:27:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 19:27:05 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri May 16 21:27:03 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 19Gkr2-00025s-00 for ; Fri, 16 May 2003 21:26:56 +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 19GkrS-0002fV-03 for guile-devel@m.gmane.org; Fri, 16 May 2003 15:27:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19GkrB-0002aI-00 for guile-devel@gnu.org; Fri, 16 May 2003 15:27:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19Gkqa-0001Eq-00 for guile-devel@gnu.org; Fri, 16 May 2003 15:26:29 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GkqP-0000v3-00; Fri, 16 May 2003 15:26:17 -0400 Original-Received: from laruns.ossau.uklinux.net (bts-0469.dialup.zetnet.co.uk [194.247.49.213]) by s1.uklinux.net (8.11.6p2/8.11.6) with ESMTP id h4GJQ9s02925; Fri, 16 May 2003 20:26:11 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1])ESMTP id B0E77DC4D3; Fri, 16 May 2003 20:23:00 +0100 (BST) Original-To: Bruce Korb In-Reply-To: <3EC51D90.DCD7EC5E@veritas.com> Original-Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-cc: guile-user@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2371 gmane.lisp.guile.user:1963 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2371 >>>>> "Bruce" == Bruce Korb writes: Bruce> Based on your example, I would need to emit this to libguile: Bruce> (eval-client-input "...whatever...") Bruce> The problem is that the ``...whatever...'' is likely to Bruce> often include double quotes, backslashes and all kinds of Bruce> interesting stuff. I don't particularly want to go over Bruce> the string and reformat it so that the reader can Bruce> reconstruct what I already have in hand. You don't have to. You can do something like this: SCM str = gh_str02scm( "...whatever..." ); SCM proc = scm_c_lookup( "eval-client-input" ); scm_call_1(proc, str); Does this make sense? Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel