Martin RUBEY <rubey@labri.fr> writes:
> on sci.math.symbolic somebody asked for worksheet stuff again. I
> recommended emacs, but looked also at save(file,all); which seems to be
> slightly broken.
>
> It writes
>
> (DEFPROP $DVA #<compiled-closure 088040e0> TRANSLATED-MMACRO)
> (DEFPROP $DVA T TRANSLATED)
>
> into my file, when I delete these two lines it works perfectly all right.
> Is there an easy fix?
load("nusum.mac");
save("/tmp/frob.lisp",all);
should be a work-around. Deleting the DVA macro in nusum.mac and
instead explicitly expanding the calls (and then retranslating the
file) would avoid the bug, but this is not the best solution, of
course.
Note: Translating Maxima macros to Lisp does not work, but if the
macro definition is in the translation environment (via EVAL_WHEN) the
calls are expanded before they are translated (and this is just what
nusum.mac does) and everything is fine (in principle).
Wolfgang