emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] feature/manual-ldefs-2 68a2cb2: Initial checkin


From: Phillip Lord
Subject: [Emacs-diffs] feature/manual-ldefs-2 68a2cb2: Initial checkin
Date: Tue, 25 Oct 2016 15:55:46 +0000 (UTC)

branch: feature/manual-ldefs-2
commit 68a2cb2a27735400e522c3cdaccdc87102af6235
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Initial checkin
---
 branch.org |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/branch.org b/branch.org
new file mode 100644
index 0000000..e3c88b3
--- /dev/null
+++ b/branch.org
@@ -0,0 +1,28 @@
+
+
+This is my second attempt to remove ldefs-boot from the repo.
+
+Emacs currently needs ldefs-boot in the repo, as this defines
+autoloads which are necessary for Emacs to both bootstrap to temacs
+and then subsequently compile the preloaded files which are normally
+dumped into the emacs.
+
+ldefs-boot is actually just an old copy of loaddef.el, from which it
+is regularly copied and committed. This means that we have generated
+data in the repo which seems like a bad thing.
+
+I don't think that this problem is 100% soluable, but it is clear that
+loaddefs.el has far more autoloads in it than are actually needed for
+a bootstrap build. However, it seems that there is probably a much
+more minimal set of autoloads that are actually needed. The difficult
+task is to get emacs to show us what these are. The idea is to pimp up
+Emacs so that, on request, it dumps this information to file during
+build (using loaddefs.el that has been previously generated). Then we
+save this information into a the new ldefs-boot.el.
+
+ - Extend "autoload" function in C to write to a file on request -- in
+   this case, it just needs to print the autoload symbol. This can
+   respond to an env variable
+ - Write some lisp to take this, extra the autoloads from loaddefs.el
+   and store a minimal version (minus docstring).
+ - This becomes new ldefs-boot.el!



reply via email to

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