[Moving the discussion to xemacs-beta]
Hrvoje Niksic <hniksic(a)arsdigita.com> writes:
Thanks for working on this. To me it seems the real issue to attack
are the evil autoloads.
Idea: the package build/installation process could concatenate all the
autoload files into one big auto-autoload for all the packages.
Startup routines would load that file, followed by the user's packages
in ~/.xemacs/ (there is usually a limited number of these.)
Installing a new package would simply rebuild the master autoload
file.
If the master autoload file is missing, we'd simply fall back to the
current scheme of looking for autoloads everywhere.
In the past I proposed replacing
[stat directory dir]
[If dir is directory add to load-path]
[stat dir/auto-autoload.elc]
[open dir/auto-autoload.elc]
[fstat dir/auto-autoload.elc]
[stat dir/auto-autoloadl.el]
by
[open dir/auto-autoloads.elc]
[If exists put dir in auto-autoloads]
which should be much faster. It does need some kind
of load-file-from-open-file-descriptor
Jan