how to stop the annotation of lists by filenames?



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.
Any opinions?

Oliver

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.
> 
> Thanks!
> 
> Oliver
> 
> 
> 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
> http://cs.swan.ac.uk/~csoliver/

-- 
Dr. Oliver Kullmann
Computer Science Department
Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/