On Mon, 22 Apr 2002, hniksic(a)arsdigita.com wrote:
Jeff Mincy <jeff(a)delphioutpost.com> writes:
>> OK. We'll just have to train "our staff on c.e.x" to say so,
since
>> we're getting a fair number of people who do stuff like M-x
>> featurep, and it doesn't work for them.
>
> When playing around with new features that I run across I often wind
> up starting to type M-x require <feature>, before I remember that
> require is not interactive. Things like feature and require that
> deal with the lisp 'environment' should be interactive. maybe.
Use `M-x load-file' and `M-x load-library' which accept strings and
are meant to be interactive.
Yea, except that load-library doesn't test to see if you have already
loaded the file. When loading features in your init file, it is a
better idea to load the features like (require 'mic-paren) rather than
(load-library "mic-paren") so that you don't reload files needlessly.
It just doesn't occur to me to mentally shift over to using
load-library for interactive usage - I understand the function
load-library just fine (although the doc string for load-library isn't
the most descriptive - "Load the library")
Anyway, whatever you think...
-jeff