how to stop the annotation of lists by filenames?



Hm, on the command line it doesn't work (system
becomes dysfunctional):

---------------------------
Maxima 5.15.0 http://maxima.sourceforge.net
Using Lisp CLISP 2.45 (2008-05-15)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) :lisp (defun add-lineinfo (x))
WARNING: DEFUN/DEFMACRO: redefining function ADD-LINEINFO in top-level, was defined in
         /home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Maxima/maxima-5.15.0/src/binary-clisp/nparse.fas
ADD-LINEINFO
(%i1) 10!;
Improper name or value in functional position:
false
 -- an error.  To debug this try debugmode(true);
-------------------------------

Perhaps it needs to replace the original definition of
add-lineinfo in nparse.lisp, before building?


On Thu, May 29, 2008 at 09:41:34AM -0600, Robert Dodier wrote:
> On Thu, May 29, 2008 at 6:58 AM, Oliver Kullmann
> <O.Kullmann at swansea.ac.uk> wrote:
> 
> > it seems that the standard behaviour of Maxima is,
> > that when a list is created by a function defined
> > in a file, then this list is annotated with the
> > full path to this file and the linenumber of
> > the creating expression.
> 
> Yeah --- that information is used by the debugger.
> 
> To suppress it, I guess one could either strip such annotations
> from existing stuff, or prevent the annotations to begin with.
> 
> To prevent the annotations, try this:
> 
> :lisp (defun add-lineinfo (x))
> 
> before loading stuff. Does that help? I didn't try it.
> 
> Maybe someone wants to invent a function to walk an expression
> and strip out the debugging info.
> 
> HTH
> 
> Robert Dodier