----- Original Message ----- From: "Eli Zaretskii" > > What would in practice have to be checked? (require ...) and it cousins? > > Yes. > > > What about autoload.el - can it write a dependency list for the autoloaded > > objects? > > Autoloads could be picked up from loaddefs.el, yes. > > > Can everything be automatically checked or is an hand-written > > supplement needed? > > In principle, it could all be done automatically. > > But this is probably not something to do right now, when we are trying > to start a pretest VSN. Though this may not be the write time I tried to write some routines that checks the dependencies. It is not at all integrated with the build process, I just wrote the routines to check dependencies. I am sending it here for a review to see if the routines do what they are supposed to do (except for any errors I might have done). Some more routines may also have to be written to make it useful. When the attached file is loaded it will go through the lisp files in the Emacs tree and write two files lisp\dep.lst and lisp\dep.warnings. - Lennart