[Maxima] temp files, was: how to re-define the HOME directory?
l.butler at ed.ac.uk
Fri Jun 5 06:11:41 CDT 2009
On Fri, 5 Jun 2009, Andrej Vodopivec wrote:
< plot-temp-file is also used in share packages, not just plot.lisp. If
< you change it, you should make sure you don't break any share
Thank you for pointing this out. You are correct: share/draw.lisp and
share/implicit-plot.lisp both use plot-temp-file. Moreover, it does
appear that these two are broken by this change to plot-temp-file.
There is only one reason why this change would break foo:
foo is calling plot-temp-file more than once to set the same
Perhaps their author(s) could look into this.
< Also, if plot functions start producing new files each time you plot
< something, someone should make sure they get deleted. If they are not
< in /tmp and on windows they will not be removed by the system.
This is most easily handled by adding a hook to quit(), having a
session keep track of the tempfiles it produces, and removing them at
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the Maxima