unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30164: load-history and modules
@ 2018-01-18 22:49 Glenn Morris
  2018-01-28 20:38 ` Philipp Stephani
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2018-01-18 22:49 UTC (permalink / raw)
  To: 30164

Package: emacs
Version: 26.0.91
Severity: minor

As pointed out in https://debbugs.gnu.org/30106#25,
Fmodule_load does not update load-history.

As a result

(require 'some-module)

gives a confusing error message if some-module.so fails to provide a feature.

Eg:

Comment out the line in data/emacs-module/mod-test.c:
  provide (env, "mod-test");

and rebuild mod-test.so. Then do:

./src/emacs -Q -L $PWD/test/data/emacs-module
(require 'mod-test)

-> error "Loading file [...]elec-pair.elc failed to provide feature 'mod-test'")





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-02 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-18 22:49 bug#30164: load-history and modules Glenn Morris
2018-01-28 20:38 ` Philipp Stephani
2018-02-02 10:37   ` Eli Zaretskii
2018-02-02 19:58     ` Philipp Stephani

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).