Shouldn't we add a hack in `require' (and do_autoload maybe) such that if:
    - the require is done from a bundled elisp file (i.e. in emacs/<vers>/lisp)
    - the loaded file shadows another file and
    - that other file is in emacs/<vers>/lisp
    we output a big warning?

In this case, it was unintentional, and the warning would have been
helpful.  But I can envision that users often deliberately shadow some
Lisp packages.  So I think the warning might be insupportable, unless
there is a way to turn it off.

Perhaps we could issue the warning only when the file is older
than the current Emacs executable.  That might avoid warnings in
situations where the shadowing is intentional.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to