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: Re: replacing ldefs-boot.el Date: Sat, 26 Nov 2016 12:08:21 +0000 Message-ID: <874m2ucukq.fsf@russet.org.uk> References: <87bmxa6o37.fsf@russet.org.uk> <83y40e7y65.fsf@gnu.org> <87twb16dta.fsf@russet.org.uk> <83vavh8qci.fsf@gnu.org> <87a8csij8c.fsf@russet.org.uk> <8737ifu7ki.fsf@russet.org.uk> <8337if4rkt.fsf@gnu.org> <72a3de1a-d52d-9275-e83c-3afabca6c444@cs.ucla.edu> <83wpfr2w7d.fsf@gnu.org> <83shqe3fi8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480282201 12646 195.159.176.226 (27 Nov 2016 21:30:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2016 21:30:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 27 22:29:50 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 1cB71B-0001c4-Kk for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2016 22:29:49 +0100 Original-Received: from localhost ([::1]:55671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cB71F-0002Gp-FY for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2016 16:29:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cB70b-0002Gc-3O for emacs-devel@gnu.org; Sun, 27 Nov 2016 16:29:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cB70X-0004eq-Uz for emacs-devel@gnu.org; Sun, 27 Nov 2016 16:29:13 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk ([185.116.215.110]:26269) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cB70X-0004dr-K1 for emacs-devel@gnu.org; Sun, 27 Nov 2016 16:29:09 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id A45C8FEBE6; Sun, 27 Nov 2016 21:11:36 +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 4A8E1FEC97; Sun, 27 Nov 2016 21:11:29 +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 2C1E0FEC44; Sun, 27 Nov 2016 21:11:29 +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:References:Message-ID :Date:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nG7gUIuA7I/EKEpfY78HNLDF8XyQsiPlsZsaLxra9Lg=; b=EPWF6w3RQQIbb8WMpxlo0StmV fvv22aV2lIbyHzxPWIRFc3yqDlzMiSxGM1dQljCczeeVfy/P1sU0Bnag4FXLC7w8nmu/Qv/PMBgnU Og4vP/r4B5uR3NyXY+fpPak0FtEbdeiWlchK1kuHl0X8SgZ0Sc3/8JGjzaJ+1C+3PA/ZPzJcLlCDL z2VlMZLDTqbqBjMtVEvFkBQ34Fgnq/majQ4iFGnTyJxiR86Ki8idp8bbGsgZrndKtLEaM6N7VC4NV cR4TlT+SQ9fqX+NRGdrsr9l9ixWd2XYCis/pFYYxjailIxvPjjdorZSDpEcaFnTUhht1ZNHmWCvyq +zmwysQag==; Original-Received: from cpc2-benw10-2-0-cust42.gate.cable.virginm.net ([77.103.60.43]:35184 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cB6jQ-000blo-07; Sun, 27 Nov 2016 21:11:28 +0000 In-Reply-To: <83shqe3fi8.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Nov 2016 08:46:23 +0200") 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.215.110 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:209640 Archived-At: Eli Zaretskii writes: >> From: Stefan Monnier >> Date: Fri, 25 Nov 2016 15:11:39 -0500 >> >> > AFAIU, the suggested method still puts auto-generated files into the >> > repository. >> >> That's right. What it does is to strip down ldefs-boot.el to just the >> autoloads actually used. >> >> The intention is to reduce the rate at which this file changes, and hence >> reducing the spurious conflicts such a file inevitably causes. > > I never had any such conflicts. And since Glenn set up an automated > job that auto-commits ldefs-boot.el, the problem with changes seems > all but resolved. ldefs-boot.el wont cause conflicts per se, because it is not generated during the build, nor is it versioned -- the situation we had previously with other autoload files. This change should mean that the necessity for committing ldefs-boot.el is considerably reduced, since ldefs-boot-auto.el depends on many fewer files than ldefs-boot.el, and should mean that diffs are more accurate. It's a small advantage; not having auto-generated files versioned is perhaps an obsession of mine. The risk is that it will need more manual intervention. ldefs-boot-auto is not a complete replacement for ldefs-boot.el. I only know which autoloaded *functions* have been called. Other forms in autoload are not captured and have been added manually (defvar warning-series nil) (defvar electric-pair-text-pairs '((34 . 34))) both of which turn out (perhaps surprisingly) to be necessary for bootstrap. My plan would be to code these dependencies out. Phil