<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#003333">
<br>
<div class="moz-cite-prefix">On 10/30/2013 01:27 PM, Christophe
Rhodes wrote:<br>
</div>
<blockquote cite="mid:87k3gu33nz.fsf@cantab.net" type="cite">
<pre wrap="">Jeffrey Cunningham <a class="moz-txt-link-rfc2396E" href="mailto:jeffrey@jkcunningham.com"><jeffrey@jkcunningham.com></a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">On 10/30/2013 12:21 PM, Jeff Cunningham wrote:
</pre>
<blockquote type="cite">
<pre wrap="">(describe 'cl-ppcre:regex-apropos)
</pre>
</blockquote>
<pre wrap="">
This is really strange. As an experiment I just created a dirt-simple
source file named "test1.lisp" in an isolated directory.
(require :cl-ppcre)
</pre>
</blockquote>
<pre wrap="">
I suspect that this might be the source of your problems. If you have
this kind of thing in your lisp code files, I can sort-of understand why
you might be getting different answers, because this isn't an idiomatic
way of doing things. Normally, you would require modules your system
depends on from the defsystem, not from within the source files. (In
fact, your example as you state it should not work at all, at least in a
clean image, because the file test1.lisp as you describe it should not
be compilable, as it contains read-time references to a package which is
only available at load-time.
</pre>
</blockquote>
<br>
According to the ASDF documentation:
<a class="moz-txt-link-freetext" href="http://common-lisp.net/project/asdf/asdf.html#Using-ASDF">http://common-lisp.net/project/asdf/asdf.html#Using-ASDF</a><br>
<br>
<h2 class="chapter">4 Using ASDF</h2>
<h3 class="section">4.1 Loading a system</h3>
<p>The system <var>foo</var> is loaded (and compiled, if necessary)
by evaluating the following Lisp form:
</p>
<pre class="example"> (asdf:load-system :<var>foo</var>)
</pre>
<p>On some implementations (namely recent versions of
ABCL, Allegro CL, Clozure CL, CMUCL, ECL, GNU CLISP,
LispWorks, MKCL, <b>SBCL</b> and XCL),
ASDF hooks into the <code>CL:REQUIRE</code> facility
and you can just use:
</p>
<pre class="example"> (require :<var>foo</var>)
</pre>
<br>
<br>
Is this not correct?<br>
<br>
Regards,<br>
--Jeff<br>
<br>
<br>
</body>
</html>