From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: replacing ldefs-boot.el Date: Sun, 20 Nov 2016 17:46:52 +0000 Message-ID: <87bmxa6o37.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1479664074 12109 195.159.176.226 (20 Nov 2016 17:47:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2016 17:47:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 20 18:47:49 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8WDU-0001Vp-Nz for ged-emacs-devel@m.gmane.org; Sun, 20 Nov 2016 18:47:49 +0100 Original-Received: from localhost ([::1]:45757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8WDU-0003Af-Ka for ged-emacs-devel@m.gmane.org; Sun, 20 Nov 2016 12:47:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8WCo-00039d-Ap for emacs-devel@gnu.org; Sun, 20 Nov 2016 12:47:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8WCj-00044r-Ey for emacs-devel@gnu.org; Sun, 20 Nov 2016 12:47:06 -0500 Original-Received: from [185.116.214.109] (port=21491 helo=mailgw.mycpanelcloud.co.uk) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8WCj-00044c-5I for emacs-devel@gnu.org; Sun, 20 Nov 2016 12:47:01 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id 65F28FF2B5 for ; Sun, 20 Nov 2016 17:46:59 +0000 (GMT) X-Virus-Scanned: by SpamTitan at mycpanelcloud.co.uk Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id AC62DFEF54 for ; Sun, 20 Nov 2016 17:46:57 +0000 (GMT) Original-Received: from cloud103.planethippo.com (cloud103.planethippo.com [31.216.48.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTPS id 96891FEC8D for ; Sun, 20 Nov 2016 17:46:57 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8Ih3em2peu1lc03ZbxeV0SdUYSK/+jXKW2lD2pAoJuw=; b=fD26lXd2+Smvn1t+XQHymwokzV 4xnflmgWgrISFyufSoLwhr+KkinVa05ihlbNBDH42hEfkYpY+LRFaDy5wi6Qs84FkvtZRbisZNr3J dplbRM3mZTtrgiFr44EpE95TT5Sjjc7wBILpMD6wGMz5pI8sC1c0M0JYv9JevuQqPZHiBWMzdWs9d Gjct8xxMuDz2DyvJdpJiAUg9pxMjPI8WZ9RrA0s1zLVJbwlOO/fTAIH6UNcC2bs41efC8UbBRf908 cNCExHN5OJau+j7SK357SDXBC+/nWf/nG89B0vwVkCtrgU9kIGG7fX9rYRSIKONk9btk2d8bka6eV 2BxEWqtQ==; Original-Received: from cpc14-benw10-2-0-cust305.16-2.cable.virginm.net ([92.234.125.50]:50648 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1c8WCf-0023LK-58 for emacs-devel@gnu.org; Sun, 20 Nov 2016 17:46:57 +0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x [fuzzy] X-Received-From: 185.116.214.109 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209510 Archived-At: I've been working on a patch to replace ldefs-boot.el. ldefs-boot.el is necessary for Emacs to build from temacs to bootstrap, and works by providing all the autoloads necessary for Emacs to build to bootstrap and then compile all the COMPILE_FIRST sources. Currently, ldefs-boot.el is just a copy of loaddefs.el, copied into the repo regularly. It's a large, generated file and has to be in the repo (or else you would need a copy from somewhere else to build Emacs). It works by providing a much smaller file which provides just the autoloads necessary to build to bootstrap, and then generates loaddefs.el before it COMPILE_FIRST's. This file can also be regenerated automatically, although I suspect that this will be a rare occurence. It's not 100% finished yet (some comments need cleaning up), but I'd like in-principle agreement for this to go to master before I do that. The code is on feature/manual-ldefs-rebased Phil