bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30106: Loading file /sources/emacs/lisp/emacs-lisp/ert.elc failed to


From: Philipp Stephani
Subject: bug#30106: Loading file /sources/emacs/lisp/emacs-lisp/ert.elc failed to provide feature `mod-test'
Date: Thu, 18 Jan 2018 19:35:26 +0000



Glenn Morris <rgm@gnu.org> schrieb am Mo., 15. Jan. 2018 um 18:57 Uhr:

It seems that Fmodule_load does not update load-history.
This is causing Frequire to report the wrong file names in its error
message, which is making it hard to diagnose the real problem.




Sigh, Fmodule_load has many other bugs, now that I look at it:
- It doesn't protect against recursive loads
- It doesn't print load messages even if force-load-messages is t
- It doesn't update loads-in-progress
- It doesn't do any of the other things that Fload does for .el and .elc files
I think we should get rid of Fmodule_load entirely and add the module-specific parts to Fload (the module initialization step itself should stay in emacs-module.c though).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]