[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Skipping unexec via a big .elc file
From: |
Eli Zaretskii |
Subject: |
Re: Skipping unexec via a big .elc file |
Date: |
Thu, 15 Dec 2016 21:59:08 +0200 |
> From: Ken Raeburn <address@hidden>
> Date: Thu, 15 Dec 2016 12:28:15 -0500
>
> Question: How useable does Emacs need to be if the Lisp code is improperly
> installed (or not installed) and can’t be loaded?
I had this same idea just the other day. We have auto-loading, so I
went, so maybe just starting temacs and letting it load whatever it
needs when it needs that would be good enough?
Just to see what would we be up against, I ran
./temacs -Q -nl
and sure thing, it errored out right away because some C code called
Lisp which wasn't loaded yet.
What's more, auto-loading doesn't work for preloaded packages, because
we have code in autoload.el to skip/ignore autoload cookies in files
mentioned in loadup.el.
So my next idea would be to come up with a smaller loadup.el which
only loads the stuff that is needed for temacs to start. I didn't try
that yet, but I did think that Phillip's work on ldefs-boot might just
be a good starting point: those ldefs-boot-*.el files might be just
what we need.
IMO, it would be interesting to see where this will take us, and what
kind of performance could that produce.
Thanks.
- Re: Skipping unexec via a big .elc file, (continued)
- Re: Skipping unexec via a big .elc file, Richard Stallman, 2016/12/11
- Re: Skipping unexec via a big .elc file, Ken Brown, 2016/12/13
- Re: Skipping unexec via a big .elc file, Ken Raeburn, 2016/12/14
- Re: Skipping unexec via a big .elc file, Lars Ingebrigtsen, 2016/12/14
- Re: Skipping unexec via a big .elc file, Ken Raeburn, 2016/12/15
- Re: Skipping unexec via a big .elc file, Ken Raeburn, 2016/12/15
- Re: Skipping unexec via a big .elc file,
Eli Zaretskii <=
- Re: Skipping unexec via a big .elc file, Clément Pit--Claudel, 2016/12/15
- Re: Skipping unexec via a big .elc file, Eli Zaretskii, 2016/12/16
- Re: Skipping unexec via a big .elc file, Clément Pit--Claudel, 2016/12/16
- Re: Skipping unexec via a big .elc file, Eli Zaretskii, 2016/12/16
- Re: Skipping unexec via a big .elc file, Clément Pit--Claudel, 2016/12/16
- Re: Skipping unexec via a big .elc file, Eli Zaretskii, 2016/12/16
- Re: Skipping unexec via a big .elc file, Noam Postavsky, 2016/12/16
- Re: Skipping unexec via a big .elc file, Stefan Monnier, 2016/12/17
- Re: Skipping unexec via a big .elc file, Phillip Lord, 2016/12/19
- Re: Skipping unexec via a big .elc file, Eli Zaretskii, 2016/12/16