Subject: how to stop the annotation of lists by filenames?
From: Richard Fateman
Date: Thu, 29 May 2008 13:04:44 -0700
how about not re-saving everything, but just incrementally what has
changed, and then you won't have to write out such big files?
RJF
> -----Original Message-----
> From: maxima-bounces at math.utexas.edu
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Oliver Kullmann
> Sent: Thursday, May 29, 2008 11:04 AM
> To: Stavros Macrakis
> Cc: maxima at math.utexas.edu
> Subject: Re: [Maxima] 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/
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>