[Maxima] how to stop the annotation of lists by filenames?
O.Kullmann at swansea.ac.uk
Thu May 29 13:03:51 CDT 2008
Arrgh, this was too optimistic:
Replacing the original add-lineinfo definition
by the trivial one passes all the Maxima-build tests,
and also mine (except of those designed to catch
the old behaviour), and apparently except of
two calls in nparse.lisp this function is
not used at all, but, alas, with the trivialised
version the error-function does not print out
the file-information about the error (exploited by
my little unit-test system).
So a switch is needed, perhaps a boolean Maxima variable
"lineinfo" which when true triggers the use of the original
add-lineinfo function, while when false triggers the use
of the trivial replacement.
I'm not sure how to handle this best.
On Thu, May 29, 2008 at 05:56:14PM +0100, Oliver Kullmann wrote:
> alright, this seems to work (passes my tests)!
> (I already thought, syntax looks fishy, but god knows
> what Lisp allows ;-).
> I guess, in order to avoid that redefinition-warning,
> I will replace the original definition of add-lineinfo
> in the sources with this one, and build Maxima in
> this way.
> On Thu, May 29, 2008 at 12:17:58PM -0400, Stavros Macrakis wrote:
> > Try
> > :lisp (defun add-lineinfo (lis) lis)
> > -s
> Dr. Oliver Kullmann
> Computer Science Department
> Swansea University
> Faraday Building, Singleton Park
> Swansea SA2 8PP, UK
Dr. Oliver Kullmann
Computer Science Department
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
More information about the Maxima