emacs-devel
[Top][All Lists]
Advanced

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

Re: fns-*.el and load-history


From: Stefan Monnier
Subject: Re: fns-*.el and load-history
Date: Wed, 03 Apr 2002 00:22:13 -0500

> For most users, fns-*.el is not normally loaded.

Is that really true ?
eval-after-load loads it and so does C-h f or C-h k, so I would
expect that it does get loaded very often.

> Therefore, the current handling is better.

Why is it better ?
Putting it into pure space would be more efficient when fns-* is loaded
and would not be noticeably worse when it is not loaded (since it's
mmap'd on demand from the `emacs' executable).

Also it's more complex, with special code in subr.el and loadup.el
to handle it.  And it's not quite correct either.  Try:

        emacs -q --no-site-file
        M-x load-library RET simple RET
        C-h f when RET

and you have now a load-history where "simple" appears twice, whereas
if you had done the C-h f before the load-library you'd have ended
up (correctly) with a single entry for "simple".


        Stefan




reply via email to

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