Subject: how to stop the annotation of lists by filenames?
From: Richard Fateman
Date: Thu, 29 May 2008 09:55:24 -0700
Looking at this problem, I tried:
(%i11) save("c:/temp/save-foo.mac",all);
(%o11) c:/temp/save-foo.mac
(%i12) load("c:/temp/save-foo.mac")
;stdin:1:Incorrect syntax: Premature termination of input at ;.;
so for me, load doesn't work at all. wxmaxima 0.7.4.
The misbehavior seems to me related to excessive debugging information being
saved by the
save command, and should not be related to the fact that you are using or
saving lists.
the code is, I think, in the file dskfn.lisp, which is really ugly, with
conditionalizations for many versions of lisp that do not exist anymore. It
could be cleaned up by removing references to (say) PDP-10 computers.
But that file also defines a function restore, which seems to not exist in
maxima. so there is something I do not understand.
I hope Stavros' suggestion solves your problem.