For your first question, get rid of the backslash.<br><br>ecl -eval "(require 'asdf)"<br><br>should work just fine. When you use the backslash, the quote is treated as just another character in the symbol name.<br>
<br>For your second question, the asdf:: package prefix is handled at read time, whereas the require form is evaluated after the entire progn form has been read and compiled. So the asdf package is being looked for before it is loaded. You can work around this like so:<br>
<br>ecl -eval "(progn (require 'asdf) (eval (read-from-string \"(asdf ...)\")))"<br><br><div class="gmail_quote">On Fri, May 16, 2008 at 11:33 AM, Mark Hoemmen <<a href="mailto:mark.hoemmen@gmail.com">mark.hoemmen@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Just wondering -- how come<br>
<br>
ecl -eval "(require \'asdf)"<br>
<br>
breaks with the message:<br>
<br>
An error occurred during initialization:<br>
The variable |'ASDF| is unbound..<br>
<br>
but<br>
<br>
ecl -eval "(require :asdf)"<br>
<br>
works just as if I had typed either "(require :asdf)" or "(require<br>
'asdf)" at the prompt?<br>
<br>
Also,<br>
<br>
ecl -eval "(progn (require :asdf) (push (truename \".\")<br>
asdf:*central-registry*))"<br>
<br>
gives me the error<br>
<br>
An error occurred during initialization:<br>
There is no package with the name ASDF..<br>
<br>
Not a big deal since I can get the same effect by stuffing these<br>
commands into a file and using the -shell option, but it's still kind<br>
of weird.  I'm not sure why text from the command line would be<br>
handled differently than text from the prompt.<br>
<br>
mfh<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br>