>>>> "Jeff" == Jeff Mincy
<jeff(a)delphioutpost.com> writes:
Jeff> Files using macros defined in other files should require
Jeff> those files inside of an eval-when? (eval-when (compile)
Jeff> (require 'macro-file))
Why an eval-when? require is already specially treated at compile
time. Just require the file and be done with it.
Jeff> If the macro expands into functions then you might need
Jeff> autoload cookies for those functions.
Ugh. That's really ugly. No. Just require and be done with it.
An autoload cookie is really a way of exporting an API. Don't
pollute the API so you can reduce the number of requires; you end up
loading the file either way! A require is how you say "I need access
to your internals."
Jeff> If you do all provides first, then requires, you will not
Jeff> get infinite recursion.
And IIRC this is not harmful, in the sense that when loading XEmacs
records provides, and if the load fails for some reason, the provides
are undone.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.