[armedbear-devel] *load-pathname* with incorrect value

Mark Evenson evenson at panix.com
Sun May 6 14:04:49 UTC 2012

On 4/26/12 2:47 PM, wl chiu wrote:
> Hi again,
> I have a file:
> ---- load-pathname.lisp -----
> (print *load-pathname*)
> -----------------------------
> When loaded, I get this:
> java.exe -cp "abcl.jar" org.armedbear.lisp.Main --load load-path.lisp==>  #P"load-path.lisp"
> According to CLHS, I believe this is wrong?
>    During a call to load, *load-pathname* is bound to the pathname denoted by  the the first argument to load, merged against the defaults; that is, it  is bound to (pathname (merge-pathnames filespec)).  During the same time
> Cheers,
> Wei-Lun Chiu 		 	   		
> _______________________________________________
> armedbear-devel mailing list
> armedbear-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel

Actions specified via command line for both "--load" and "--eval" can be 
a little bit wonky, as they are processed outside of the normal REPL 
code path.

I've filed your issue as [ticket #208][1].

[1]: http://trac.common-lisp.net/armedbear/ticket/208

Thanks for the bug report.

More information about the armedbear-devel mailing list