|
From: | Daniel Colascione |
Subject: | Re: Preview: portable dumper |
Date: | Thu, 15 Feb 2018 18:25:38 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 02/15/2018 05:54 PM, Stefan Monnier wrote:
I do wonder whether it makes sense to try to copy the dump into the Emacs executable itself instead of leaving it as a separate file.We could try, but: - it adds complexity and maybe system-dependent hacks.
Not if we just tack onto the end.
Not necessarily. Suppose we go with the append-to-the-executable option. Then, to "re-dump" emacs, we'd open the current executable, copy it to a temporary file, back up to the start of the dump, ftruncate. Now we've recovered temacs and we can go through normal loadup and dump.- it closes the opportunity to have several dump files for a single executable (I was thinking we could try and let end-users build their own dump file).
Maybe we can even automatically detect changes to any file in load-history and perform this procedure automatically on startup.
[Prev in Thread] | Current Thread | [Next in Thread] |