From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: gnome-clutter + repl? Date: Wed, 28 Sep 2011 15:02:50 +0200 Message-ID: <87k48shlad.fsf@gnu.org> References: <87d3ep90pn.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1317214988 18567 80.91.229.12 (28 Sep 2011 13:03:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 13:03:08 +0000 (UTC) Cc: guile-user@gnu.org To: joakim@verona.se Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Sep 28 15:03:02 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 1R8tmu-0004Ji-Rf for guile-user@m.gmane.org; Wed, 28 Sep 2011 15:03:00 +0200 Original-Received: from localhost ([::1]:33984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8tmu-00069G-0g for guile-user@m.gmane.org; Wed, 28 Sep 2011 09:03:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8tmp-000695-Lu for guile-user@gnu.org; Wed, 28 Sep 2011 09:02:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8tmn-0002kS-ND for guile-user@gnu.org; Wed, 28 Sep 2011 09:02:55 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:35101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8tmn-0002jz-Ir for guile-user@gnu.org; Wed, 28 Sep 2011 09:02:53 -0400 Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id 93AA044E23; Wed, 28 Sep 2011 15:02:51 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 =?iso-8859-1?Q?Vend=E9miaire?= an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (joakim@verona.se's message of "Tue, 27 Sep 2011 11:19:31 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 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:8840 Archived-At: Hi Joakim, joakim@verona.se skribis: > If I instead use scm_shell (argc, argv); rather than > scm_c_primitive_load("init.scm"); the function is accessible, > so maybe there is some namespace issue? Possibly. > init.scm looks like: > (define-module (mytest) > #:use-module (system repl server)) > > (spawn-server) The server may run in the (mytest) module, whereas the scm_c_define_gsubr call was made in the default module, called (guile-user). Check what (current-module) says in each case. HTH, Ludo=E2=80=99.