load_pathname in maxima -b, was: Maxima 5.31.0 release
Subject: load_pathname in maxima -b, was: Maxima 5.31.0 release
From: John Lapeyre
Date: Tue, 03 Sep 2013 23:16:05 +0200
On 09/03/2013 05:58 PM, Robert Dodier wrote:
> I don't see that -- the code to process -b foo.mac actually constructs
> batch("foo.mac") and evaluates that (and that code dates back a long
> time),
I was mistaken, it's the reverse. This is the behavior I get:
batchtest.mac
-----
print("In batchtest, load_pathname is `", load_pathname, "'");
-----
-----
> smaxima-28 --batch batchtest.mac
Maxima 5.28.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.57.0.debian ...
In batchtest, load_pathname is ` false ' ...
> smaxima-30 --batch batchtest.mac
Maxima 5.30.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.57.0.debian ...
In batchtest, load_pathname is ` batchtest.mac ' ...
-----
It turns out that 5.30.0 breaks my applications, but I
don't have a clear idea right now of what I think correct
behavior should be.
--John