I had GATHER-INFO on the file internal/library/MEDLEY-UTILS
But I thought it wasn't stable.... the "info" it gathers is incomplete and I hadn't figured out what anomalies really need to be reported / repaired.
Now I'm wondering if we should make LISPUSERS a different repo with a different commit policy. Or if there were some kind of sync service we could use for sharing personal init files....
The thing that struck me but I wasn't sure how to repair was "DUPFNS" -- functions with different definitions on different files. Other things to look for is missing GLOBALVARS declarations.
Why MSNOTICEFILE doesn't work is a puzzle.
(for X in SYSFILES do (MASTERSCOPE `(ANALYZE ON ,X))
--
https://LarryMasinter.net https://interlisp.org
> -----Original Message-----
> From: Ron Kaplan <
ron.k...@post.harvard.edu>
> Sent: Wednesday, June 9, 2021 7:33 AM
> To: Larry Masinter <
l...@acm.org>
> Subject: gather-info, msnoticefile, and dumpdatabase
>
> Perhaps that’s something you should make as a separate little lispusers
> package? (And maybe generalized with an optional argument to specify a
> particular set of files of interest?)
>
> On the Masterscope, it does the MSNOTICEFILE but doesn’t analyze. Should
> that be added as a separate tasks (i.e. 1 to 5 instead of 1 to 4), or done
> automatically as task 4?
>
> Finally, after noticing all the files, explicitly analyzing them, and dumping the
> database (DUMPDATABASE NIL ‘full.database), I load the database into a
> fresh system. I then ask . WHO CALLS \OUTCHAR (lots of results), followed
> by . WHO CONTAINS THOSE (nothing).
>
> So it appears that DUMPDATABASE does not dump whatever information is
> instantiated when a file is noticed.
>
> Should DUMPDATABASE be extended so that it automatically saves that
> additional information? (Maybe just FILEFNSLST for each of the noticed files?
> Anything else?)
>
> Alternatively, since my extension makes up its own PRETTYDEF command on
> the fly, I could have it dump the database (E (DUMPDATABASE)) and then
> dump the notice information separately (a VARS command?) so that would
> also be restored when the file is LOADed.
>
>
>