finder is a package that needs to work. Currently the finder database
(finder-inf.el) is built statically at dump time, never updated when
new packages are installed, and is put in a location that will
definitely cause trouble with Mule XEmacsen and Non-Mule XEmacsen
sharing the same package lisp.
A simple method of fixing it would be along the following lines.
lisp/finder-inf.el gets split into two files similar to how
files-mule.el and files-nomule.el are. lisp/finder-inf.el would
contain information about everything in the XEmacs core other than
lisp/mule. lisp/finder-inf-mule.el would contain information about
lisp in lisp/mule. Although these files contain lisp they are data
files so it might make some sense to put them in etc/. I am open to
either place.
Each installed package hierarchy needs a finder-inf.el that is updated
as packages are installed and removed. For consistency, its location
should match where finder-inf*.el goes in the core. Adding two new
functions finder-update-package-keywords (callable from package-ui.el)
and finder-batch-update-package-keywords (callable from make) would
seem to be enough.
Questions, comments?