Stephen J. Turnbull writes:
If people would only build from source and run-in-place this
wouldn't be a problem. ;-)
Yah. I suspect that's what a lot of people on this list do. I
haven't typed "make install" at an Emacs distribution in 15 years.
Too scary. Fifteen years ago when I typed "make install" Emacs
sprayed files everywhere. Because of this, figuring out how to
uninstall an old version was hard. Once running in place fom a
source tree became an option I never looked back. Uninstalling a
source tree is easy.
One sensible way to handle this is to add a SEARCH-LOAD-PATH-TOO
flag
to `find-library' and `locate-library', if it's nil have them warn
"library source not found, probably dumped into XEmacs? use prefix
arg to search path" on not found, and if non-nil search for the
library on the path. I would prefer those semantics (rather than
defaulting to searching load-path) to reduce the incidence of the FAQ,
but maybe I'm just a worry-wart.
If "make install" is what we expect people to do, then the wiping
load-history and searching load-path should be the default action.