"Tobias C. Rittweiler" tcr@freebits.de writes:
Are you sure that the `(require 'arc-mode)' is executed at load time?
Yes, insofar as `load-library' and `load-file' trigger the `eval-when-compile' form. If I run
M-x load-library slime
or
M-x load-file slime.el
the file fails to load. It looks like it's the `eval-when-compile' form at line 67 that fails:
,---- | Debugger entered--Lisp error: (error "Required feature arc-mode was not provided") | require(arc-mode) | (progn (require (quote arc-mode)) (require (quote apropos)) (require (quote outline)) (require (quote etags))) | (eval-when-compile (require (quote arc-mode)) (require (quote apropos)) (require (quote outline)) (require (quote etags))) | load-internal("slime" nil nil nil undecided) | load("slime") | load-library("slime") | eval((load-library "slime")) | edit-and-eval-command("Redo: " (toggle-debug-on-error nil) (command-history . 1)) | repeat-complex-command(1) | call-interactively(repeat-complex-command) `----
Naturally, trying to byte-compile the file fails similarly. If I comment out the `(require 'arc-mode)' form on line 68, I can compile and load the file without error.