[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] Re: Bug#231800: axiom: )edit command broken
From: |
root |
Subject: |
Re: [Axiom-developer] Re: Bug#231800: axiom: )edit command broken |
Date: |
Thu, 12 Feb 2004 14:50:49 -0500 |
yes, SPADEDIT is broken.
The issue is that catdef.spad is expanded into its component parts
during the compile process.
Thus, during system make:
catdef.spad.pamphlet -> BASTYPE.spad (and other component categories)
The compiler puts the name of the source (BASTYPE.spad) into the
NRLIB of the file it is compiling.
The database build process collects these NRLIB entries.
The )show command uses these entries for the output line:
Issue )edit /usr/lib/axiom-0.20040128/../../src/algebra/BASTYPE.spad to
see algebra source code for BASTYPE
The problem is that the name of the originating pamphlet file is not
preserved anywhere. The fix might be to have the pamphlet expansion
process put a line like:
)origin catdef.spad.pamphlet
in the generated BASTYPE.spad file and then have the compiler use
that name in the NRLIB.
I'll put it on the todo list.
Tim