[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: top-repl priority of guile module

From: Neil Jerram
Subject: Re: top-repl priority of guile module
Date: Thu, 14 Dec 2006 20:05:58 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> Oh, and I added test-suite/standalone/test-use-srfi exercising this
> stuff.  The "guile" in the script is the uninstalled guile during a
> "make check", you might have to search and replace it to
> pre-inst-guile if you want to run outside that.

Sorry for coming late to this discussion.

It seems to me, though, that this is all a matter of ordering, not of
whether the duplicates processing gets invoked.  I don't know all the
details of the duplicate processing, but by default I would expect a
later use-modules (or similar operation) to override an earlier one.
Is that what happens?

Then, if it is the case that

$ guile

sets up a standard environment, it seems obvious to me that if one

$ guile --srfi=1

the "--srfi=1" should take effect after the standard environment has
been set up.

And then the real problem, as I understand it, would be that the code
in script.c generates code which does the (use-modules (srfi srfi-1))
before the (top-repl).

What do you think?  Have I completely misunderstood?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]