From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: proposal: scm_c_public_ref et al Date: Sun, 06 Mar 2011 22:34:22 +0100 Message-ID: References: <874o7g1ake.fsf@netris.org> <87tyfgw4x4.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299452624 32038 80.91.229.12 (6 Mar 2011 23:03:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 23:03:44 +0000 (UTC) Cc: guile-devel To: Thien-Thi Nguyen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 07 00:03:40 2011 Return-path: Envelope-to: guile-devel@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 1PwMzE-0005wI-3F for guile-devel@m.gmane.org; Mon, 07 Mar 2011 00:03:40 +0100 Original-Received: from localhost ([127.0.0.1]:52956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwM5b-0002fZ-7X for guile-devel@m.gmane.org; Sun, 06 Mar 2011 17:06:11 -0500 Original-Received: from [140.186.70.92] (port=54541 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwM0d-0006mc-4h for guile-devel@gnu.org; Sun, 06 Mar 2011 17:01:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwLaq-0007EH-9g for guile-devel@gnu.org; Sun, 06 Mar 2011 16:34:25 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:61051 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwLaq-0007E2-7I for guile-devel@gnu.org; Sun, 06 Mar 2011 16:34:24 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 38F094D1B; Sun, 6 Mar 2011 16:35:49 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=NG7Lc+o9PgVnEqScpF4UHW2C7w8=; b=EFPVFx wE3EcYrSep8Mp6yr9aED3YpS1pyR57WKDRy9pPTXtKAqyav38mRifkMc0tRS7ibA TN8YdurMBkb/LQBlZjCzIuxDGP7FYRL1feRGowU2CL7D+D004XtYZBolpWI0ewYx pRErHEt7OTZMvWWO1tM/l02vyLh/TeWvhSTcs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=RyQgKnncE3W9Rc5nHMps0zpMohati+Xw BX2ebPptrmj3a5oPc1ERbTeKE5MTUdNU55b4F2poeAYBKjdI/PkCY6wSfyAGn3Vs y+6Nw6DAcSA3bP3bReMKE95waCSjQmVYayk9RWlLb5ug6HGEE9N+nzcnM5jfBppf XUpP4UtT81o= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 263174D1A; Sun, 6 Mar 2011 16:35:48 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 7C66C4D19; Sun, 6 Mar 2011 16:35:46 -0500 (EST) In-Reply-To: <87tyfgw4x4.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Sun, 06 Mar 2011 18:10:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: B364A0A2-4839-11E0-BAF6-AF401E47CF6F-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11799 Archived-At: Hello, On Sun 06 Mar 2011 18:10, Thien-Thi Nguyen writes: > () Mark H Weaver > () Sun, 06 Mar 2011 11:24:33 -0500 > > Maybe utf8 is a better choice? > > A module name is a list of symbols, so why not use that from the beginning? The variants without _c_ did just that, so no problem there. The module_name like "ice-9 eval-string" already exists in scm_c_resolve_module, so I'm not making that bit up. My interest is to make invoking Scheme code in modules from C easier, with less fussiness on the C side. Your ideas are interesting, but I don't think they are appropriate for the particular problem I am interested in. > BTW, i agree that all C strings should be explicitly specified as UTF-8. ACK. Andy -- http://wingolog.org/