GNU bug report logs - #48117
28.0.50; Update of loaddefs.el during normal build is unreliable

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Eli Zaretskii <eliz@HIDDEN>; dated Fri, 30 Apr 2021 11:52:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 3 May 2021 08:41:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 03 04:41:54 2021
Received: from localhost ([127.0.0.1]:46178 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldU9K-0005P1-KX
	for submit <at> debbugs.gnu.org; Mon, 03 May 2021 04:41:54 -0400
Received: from heytings.org ([95.142.160.155]:35274)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1ldU9G-0005Ov-2J
 for 48117 <at> debbugs.gnu.org; Mon, 03 May 2021 04:41:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1620031309;
 bh=cWBOzvKNi3MUAHCQh1xPwPLmgfSWt6qjerZDAI7hS6U=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=m4v0ONG4t5mIcCof/aFrIKOkql0MjtD7MsxAoW+a1AhSCJIG6b5kGWMPlfhBg2fjT
 WeaJJOJDn9Wm13y5viIXBSBWF/zbgy7zrTBp/73Kuppz2gxGq8pbhgZk0Yuk2lWDWE
 ermbJ6aG0wXN+DVGdI8050Utf0fnSKaAwoRmCAOr5t4+ynl5/l3F9ko6YxSCQsB0O6
 U3jSjl4FiHvseqA7RoB8HIJOxA3/pIqQg2qYJPYyaqanXklMqFhmMb1shnu+8r70OH
 7HAL9iIYascbywj8AheXQSNgB00QBoacyk0Em0SAq5MJBqqESGU1ImqNAD422m+ZQ8
 qxPD/CALM39tQ==
Date: Mon, 03 May 2021 08:41:49 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <s3r1ip6pi2.fsf@HIDDEN>
Message-ID: <a4dfe72ae2b80aba9a24@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <ad35v7d6r3.fsf@HIDDEN>
 <s3r1ip6pi2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: Eli Zaretskii <eliz@HIDDEN>, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> Another idea, FWIW: In the make rule for $(lisp)/loaddefs.el, if 
>> loaddefs.el exists and is older than ldefs-boot.el, start by copying 
>> the latter to the former. This ought to limit how outdated loaddefs can 
>> get?
>
> BTW, I think this might actually make things worse in terms of detecting 
> new secondary loaddefs files like texinfo-loaddefs (not that those 
> happen very often), by bumping the timestamp on the primary loaddefs.
>

Which is one of the reasons why I still believe that my proposed solution 
is better: whenever lisp/ldefs-boot.el is more recent than 
lisp/loaddefs.el, issue a warning when make is invoked to suggest the 
regeneration of _all_ autoload files, and add a command to do this in the 
main Makefile: make autoloads would do find -name '*loaddefs.el' -delete 
&& make -C lisp autoloads.  In theory this should have the same effect as 
make -C lisp autoloads-force, but that command is only marginally faster, 
and I much prefer the clarity / determinicity of a "delete all and 
regenerate" operation.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 2 May 2021 18:55:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 02 14:55:10 2021
Received: from localhost ([127.0.0.1]:44190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldHFG-00086x-FR
	for submit <at> debbugs.gnu.org; Sun, 02 May 2021 14:55:10 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50256)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ldHFD-00086c-Nj
 for 48117 <at> debbugs.gnu.org; Sun, 02 May 2021 14:55:09 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:38450)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>) id 1ldHF6-0008I0-Vp
 for 48117 <at> debbugs.gnu.org; Sun, 02 May 2021 14:55:01 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1896
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ldHF5-00037H-Oj; Sun, 02 May 2021 14:55:00 -0400
Date: Sun, 02 May 2021 21:54:42 +0300
Message-Id: <83h7jl6k5p.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
In-Reply-To: <s3r1ip6pi2.fsf@HIDDEN> (message from Glenn Morris on
 Sun, 02 May 2021 12:59:17 -0400)
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <ad35v7d6r3.fsf@HIDDEN>
 <s3r1ip6pi2.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Glenn Morris <rgm@HIDDEN>
> Cc: 48117 <at> debbugs.gnu.org
> Date: Sun, 02 May 2021 12:59:17 -0400
> 
> Glenn Morris wrote:
> 
> > Another idea, FWIW:
> > In the make rule for $(lisp)/loaddefs.el, if loaddefs.el exists and is
> > older than ldefs-boot.el, start by copying the latter to the former.
> > This ought to limit how outdated loaddefs can get?
> 
> BTW, I think this might actually make things worse in terms of detecting
> new secondary loaddefs files like texinfo-loaddefs (not that those
> happen very often), by bumping the timestamp on the primary loaddefs.

But there's no such thing as detecting new secondary loaddefs, right?
The only remedy for that is "make autoloads-force", right?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 2 May 2021 16:59:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 02 12:59:41 2021
Received: from localhost ([127.0.0.1]:43721 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldFRV-0004xa-Id
	for submit <at> debbugs.gnu.org; Sun, 02 May 2021 12:59:41 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33778)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1ldFRT-0004xU-D2
 for 48117 <at> debbugs.gnu.org; Sun, 02 May 2021 12:59:40 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35383)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rgm@HIDDEN>) id 1ldFRO-0004mE-3L
 for 48117 <at> debbugs.gnu.org; Sun, 02 May 2021 12:59:34 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1ldFR8-0002lh-22; Sun, 02 May 2021 12:59:19 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <ad35v7d6r3.fsf@HIDDEN>
X-Spook: Phishing Elvis AMEMB mania ICE Social media Mudslide BOSS
X-Ran: 3C4[u}l'i[o;e([T8Lj~<:Sux"(nWhB?'QL(^kK`$hH~5TF]+(jzC:Ly5EIP8onQ6UQ!(P
X-Hue: magenta
X-Attribution: GM
Date: Sun, 02 May 2021 12:59:17 -0400
In-Reply-To: <ad35v7d6r3.fsf@HIDDEN> (Glenn Morris's message of
 "Fri, 30 Apr 2021 13:25:36 -0400")
Message-ID: <s3r1ip6pi2.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Glenn Morris wrote:

> Another idea, FWIW:
> In the make rule for $(lisp)/loaddefs.el, if loaddefs.el exists and is
> older than ldefs-boot.el, start by copying the latter to the former.
> This ought to limit how outdated loaddefs can get?

BTW, I think this might actually make things worse in terms of detecting
new secondary loaddefs files like texinfo-loaddefs (not that those
happen very often), by bumping the timestamp on the primary loaddefs.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 2 May 2021 07:41:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 02 03:41:29 2021
Received: from localhost ([127.0.0.1]:41227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ld6jJ-0001LO-ME
	for submit <at> debbugs.gnu.org; Sun, 02 May 2021 03:41:29 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48474)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ld6jI-0001LI-5D
 for 48117 <at> debbugs.gnu.org; Sun, 02 May 2021 03:41:28 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57557)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1ld6jC-0007qb-Q8; Sun, 02 May 2021 03:41:22 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3839
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ld6jB-0008Kg-JF; Sun, 02 May 2021 03:41:22 -0400
Date: Sun, 02 May 2021 10:41:01 +0300
Message-Id: <834kfl8twy.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87r1ipk323.fsf@HIDDEN> (message from Lars Ingebrigtsen on Sun, 
 02 May 2021 09:28:04 +0200)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <83im43bwod.fsf@HIDDEN> <87r1ipk323.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: Glenn Morris <rgm@HIDDEN>,  48117 <at> debbugs.gnu.org
> Date: Sun, 02 May 2021 09:28:04 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> 1) autoload generation is slow.
> >
> > Based on my latest experience, I think this is somewhat exaggerated,
> > especially given that our builds became slower lately.
> 
> Has it?  I haven't noticed any substantial slow-down...  (Unless you
> mean with native-comp switched on.)

Yes, native-comp, certainly.  But the build became slower a year or so
ago as well, I no longer remember why.

> In any case, autoload generation takes a substantial chunk of time --
> especially since it's single-threaded.  Glenn's suggestion to copy over
> ldefs-boot.el (if it's newer) sounds like a good idea to me.

Yes, I agree.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 2 May 2021 07:28:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 02 03:28:16 2021
Received: from localhost ([127.0.0.1]:41131 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ld6WV-0007Rw-R4
	for submit <at> debbugs.gnu.org; Sun, 02 May 2021 03:28:16 -0400
Received: from quimby.gnus.org ([95.216.78.240]:55074)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1ld6WU-0007Rq-07
 for 48117 <at> debbugs.gnu.org; Sun, 02 May 2021 03:28:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References: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=g4mUxqoO1sHIu/9FRe46zsUb/HXk+yMud8RpIMULa0o=; b=WVL3wOBoTfcO61LV9EI37ZFy/w
 LkFhKQ3q88dRiul8r+XXEWve+fA3Nq2lhpXLe+yED2gfCc3kSuEsx1xEkqFB30MLhBLbam4lRUNTl
 0kayzOf2RJHYlP/05g14jIRIurCdh2PFxrQM1vVSqBg/wBrxrVuq/Ji3oUVo6pF7qP5M=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1ld6WL-0003px-BW; Sun, 02 May 2021 09:28:07 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <83im43bwod.fsf@HIDDEN>
X-Now-Playing: Zola Jesus's _New Amsterdam_: "Dog"
Date: Sun, 02 May 2021 09:28:04 +0200
In-Reply-To: <83im43bwod.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 30 Apr
 2021 18:48:34 +0300")
Message-ID: <87r1ipk323.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> 1) autoload
 generation is slow. > > Based on my latest experience,
 I think this is somewhat exaggerated, 
 > especially given that our builds became slower lately. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: Glenn Morris <rgm@HIDDEN>, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> 1) autoload generation is slow.
>
> Based on my latest experience, I think this is somewhat exaggerated,
> especially given that our builds became slower lately.

Has it?  I haven't noticed any substantial slow-down...  (Unless you
mean with native-comp switched on.)

In any case, autoload generation takes a substantial chunk of time --
especially since it's single-threaded.  Glenn's suggestion to copy over
ldefs-boot.el (if it's newer) sounds like a good idea to me.  (And I'd
also like if that file was regenerated more often than once a month...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 1 May 2021 13:01:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 01 09:01:13 2021
Received: from localhost ([127.0.0.1]:36360 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcpFA-0005It-UP
	for submit <at> debbugs.gnu.org; Sat, 01 May 2021 09:01:13 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46468)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcpF8-0005In-Uf
 for 48117 <at> debbugs.gnu.org; Sat, 01 May 2021 09:01:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43030)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcpF3-0005gU-2T; Sat, 01 May 2021 09:01:05 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3024
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcpEz-0007ux-KO; Sat, 01 May 2021 09:01:02 -0400
Date: Sat, 01 May 2021 16:00:53 +0300
Message-Id: <831raqa9ru.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
In-Reply-To: <4edb143526f99ac92176@HIDDEN> (message from Gregory
 Heytings on Sat, 01 May 2021 12:29:12 +0000)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN> <cc0d843240684f380fc9@HIDDEN>
 <yotunnwbnv.fsf@HIDDEN> <4edb1435266f8ca80b73@HIDDEN>
 <83fsz6amij.fsf@HIDDEN> <4edb143526eb913b641f@HIDDEN>
 <837dkiajbd.fsf@HIDDEN> <4edb143526f99ac92176@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 01 May 2021 12:29:12 +0000
> From: Gregory Heytings <gregory@HIDDEN>
> cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
> 
> > Compromise between which alternatives?
> >
> 
> I see at least the following possible alternatives:

My point is that the gain from your proposal wrt the next best
alternative is small, but the price is too high.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 1 May 2021 12:29:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 01 08:29:14 2021
Received: from localhost ([127.0.0.1]:36346 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcokD-00051Y-UK
	for submit <at> debbugs.gnu.org; Sat, 01 May 2021 08:29:14 -0400
Received: from heytings.org ([95.142.160.155]:32836)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lcokD-00051S-7v
 for 48117 <at> debbugs.gnu.org; Sat, 01 May 2021 08:29:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619872152;
 bh=iqS0QHwAYeguvcsSGVCGIZBArykjI0HgTP+iPFzB8e0=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=CSENOYPlQp5yR0tvn8dHSI956JNRLCb/r+/HUX0OYMjRibSCtfx24L8jBkMCDsKtw
 8aSrH5A4CCPBvi11knNErk4abVJSy1eBxptGmJzBrBrjfOQLmpONiBUUg5bwR6xFFk
 EqcKyyUWcbIdfWsw2QsPTSMuzEiRRDo4sPPgR04/S4hJvfd2tELk2clnnMUQ4sy8zP
 mZIVOlcMIAuy/gIaYNggQMfzzY8RSGiF0k5OEKsBlkWPlSnREShCXi3KuIsrqDT/rN
 p1oIrg099Q2gCDg2kJJPTJ78aNA+XgFbj5vbMwr38RG19sUEOnkT6F8KBZtS4U6xpr
 OL6JYKOoy+zGQ==
Date: Sat, 01 May 2021 12:29:12 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <837dkiajbd.fsf@HIDDEN>
Message-ID: <4edb143526f99ac92176@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN> <cc0d843240684f380fc9@HIDDEN>
 <yotunnwbnv.fsf@HIDDEN> <4edb1435266f8ca80b73@HIDDEN>
 <83fsz6amij.fsf@HIDDEN> <4edb143526eb913b641f@HIDDEN>
 <837dkiajbd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>>> Your proposal would produce marginally better results for a 
>>> significantly longer build time, so I don't think it's a net win.
>>
>> If ldefs-boot.el is updated, say, once a week, this would force the 
>> regeneration of the loaddefs files at most once a week.  Wouldn't that 
>> be a reasonable compromise?
>
> Compromise between which alternatives?
>

I see at least the following possible alternatives:

- the current situation, which you describe in your original post, in 
which the loaddefs files need to be regenerated manually (inconvenient)

- regenerating the loaddefs files for each make invocation (inefficient)

- copying the ldefs-boot.el onto loaddefs.el when it is more recent (which 
IIUC could lose local additions to loaddefs.el)

- automatically regenerating the loaddefs files when ldefs-boot.el is more 
recent than loaddefs.el (which I understand could be a bit slow)

- issue only a warning when make is invoked and ldefs-boot.el is more 
recent than loaddefs.el (and perhaps add a autoloads or loaddefs target to 
the main Makefile)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 1 May 2021 09:35:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 01 05:35:01 2021
Received: from localhost ([127.0.0.1]:60279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcm1d-0005gL-2S
	for submit <at> debbugs.gnu.org; Sat, 01 May 2021 05:35:01 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40796)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcm1b-0005eu-P3
 for 48117 <at> debbugs.gnu.org; Sat, 01 May 2021 05:35:00 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41375)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcm1W-000863-2O; Sat, 01 May 2021 05:34:54 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4205
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcm1U-0006np-BQ; Sat, 01 May 2021 05:34:52 -0400
Date: Sat, 01 May 2021 12:34:46 +0300
Message-Id: <837dkiajbd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
In-Reply-To: <4edb143526eb913b641f@HIDDEN> (message from Gregory
 Heytings on Sat, 01 May 2021 09:20:51 +0000)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN> <cc0d843240684f380fc9@HIDDEN>
 <yotunnwbnv.fsf@HIDDEN> <4edb1435266f8ca80b73@HIDDEN>
 <83fsz6amij.fsf@HIDDEN> <4edb143526eb913b641f@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 01 May 2021 09:20:51 +0000
> From: Gregory Heytings <gregory@HIDDEN>
> cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
> 
> > Your proposal would produce marginally better results for a 
> > significantly longer build time, so I don't think it's a net win.
> 
> If ldefs-boot.el is updated, say, once a week, this would force the 
> regeneration of the loaddefs files at most once a week.  Wouldn't that be 
> a reasonable compromise?

Compromise between which alternatives?

The "marginally better" results in your proposal are that if someone
updates from Git when he/she is in the middle of some development,
then loaddefs.el are made up-to-date immediately, as opposed to
_maybe_ waiting for the next update of ldefs-boot.el.  (I say "maybe"
because in general loaddefs.el _are_ updated as part of routine
builds, just not 100% reliably so.)

> On my computer, regenerating the loaddefs files takes about 10
> seconds, or ~3% of the time of a make bootstrap.

Keep in mind that some people use less powerful machines.  And the
bootstrap time is not relevant, because loaddefs.el is completely
regenerated during bootstrap anyway.  The time that is relevant is the
time of just "make", and that is usually quite short, even on slow
machines.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 1 May 2021 09:20:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 01 05:20:56 2021
Received: from localhost ([127.0.0.1]:60271 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lclnz-0002YP-RP
	for submit <at> debbugs.gnu.org; Sat, 01 May 2021 05:20:56 -0400
Received: from heytings.org ([95.142.160.155]:60870)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lclnx-0002XX-1Q
 for 48117 <at> debbugs.gnu.org; Sat, 01 May 2021 05:20:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619860851;
 bh=tkgcjXU4ofL6xgPxhDlmC34bnwU/fA5mq2193mrRiVo=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=c2kYd9cWt4Z3LrBaj2wtnNTvgFcwcwUhia2/MmOpyHN7ugS1/fJMt1uwKr80AHFG9
 SdZecgcaKPVQr3JXfC/MAdnkLF1TNI+S6p7YrSb0WR8kcvcbUH4ZiXaie1+Jgwknda
 za5eNkh/uweqH082Ci76qOmsuxUsGAjWuwIyS4tUIdK0IvNumKZ2UV6F3XCx7pYAdH
 urn+HzDVcEYY3eo68g+4JSBykcoURxjBEM1GIDNaAfDrux9YeX4TbjjIUFPCTjNN3a
 ycuDPkMeI9O/qO3qH/PvWLXy79pQV0e7KyqW7tCASk2nA3zVw3eQQU5cEifry0blll
 O8BBdyGxFrNrw==
Date: Sat, 01 May 2021 09:20:51 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <83fsz6amij.fsf@HIDDEN>
Message-ID: <4edb143526eb913b641f@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN> <cc0d843240684f380fc9@HIDDEN>
 <yotunnwbnv.fsf@HIDDEN> <4edb1435266f8ca80b73@HIDDEN>
 <83fsz6amij.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> You suggested copying ldefs-boot.el onto loaddefs.el when it is more 
>> recent.  I'm not entirely sure, but it seems to me that forcing a 
>> regeneration of the loaddefs files during make whenever ldefs-boot.el 
>> is more recent than loaddefs.el would be a better solution.
>
> Your proposal would produce marginally better results for a 
> significantly longer build time, so I don't think it's a net win.
>

If ldefs-boot.el is updated, say, once a week, this would force the 
regeneration of the loaddefs files at most once a week.  Wouldn't that be 
a reasonable compromise?  On my computer, regenerating the loaddefs files 
takes about 10 seconds, or ~3% of the time of a make bootstrap.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 1 May 2021 08:25:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 01 04:25:57 2021
Received: from localhost ([127.0.0.1]:60237 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lckwn-0004Rg-1H
	for submit <at> debbugs.gnu.org; Sat, 01 May 2021 04:25:57 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59010)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lckwl-0004RS-Po
 for 48117 <at> debbugs.gnu.org; Sat, 01 May 2021 04:25:56 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40955)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lckwf-00008k-2h; Sat, 01 May 2021 04:25:50 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3784
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lckwc-0005vu-OI; Sat, 01 May 2021 04:25:48 -0400
Date: Sat, 01 May 2021 11:25:40 +0300
Message-Id: <83fsz6amij.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
In-Reply-To: <4edb1435266f8ca80b73@HIDDEN> (message from Gregory
 Heytings on Sat, 01 May 2021 08:09:42 +0000)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN> <cc0d843240684f380fc9@HIDDEN>
 <yotunnwbnv.fsf@HIDDEN> <4edb1435266f8ca80b73@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 01 May 2021 08:09:42 +0000
> From: Gregory Heytings <gregory@HIDDEN>
> cc: Eli Zaretskii <eliz@HIDDEN>, 48117 <at> debbugs.gnu.org
> 
> You suggested copying ldefs-boot.el onto loaddefs.el when it is more
> recent.  I'm not entirely sure, but it seems to me that forcing a
> regeneration of the loaddefs files during make whenever
> ldefs-boot.el is more recent than loaddefs.el would be a better
> solution.

Your proposal would produce marginally better results for a
significantly longer build time, so I don't think it's a net win.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 1 May 2021 08:09:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 01 04:09:44 2021
Received: from localhost ([127.0.0.1]:60221 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lckh6-00043Z-BQ
	for submit <at> debbugs.gnu.org; Sat, 01 May 2021 04:09:44 -0400
Received: from heytings.org ([95.142.160.155]:60796)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lckh5-00043R-9u
 for 48117 <at> debbugs.gnu.org; Sat, 01 May 2021 04:09:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619856582;
 bh=3fygl6c3j4/qL/Aq375bcN7oBN3EDWwsVih4s+HEFh0=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=YTcX0lJZ3XB0xsWaBh5hWyoGsCPSf8n/8p+maR7P4yB0+TtvrjerfdcsG8wiQ1jjp
 FeGkb6AqltISJ6ShpFxOh61xChlYnKkhhdiPNYtt5CDDSnhmtiOS872ZqCe06EuA/D
 viN2ajWfAF7h14FYwF6S51sD6Zu49tucTnSO6Em0ic2zFpre30RhFgRAmdLEdS0gXD
 BqbfvUN5hqlKbxap+wXV269j768zB0tUPUjciRSAH+KSKXUUxvkcq/8RDilOZTuo6x
 LHNycFu+oTJzADGT1mepPoy+zI3XMM8kB5m0X8/odTsYixvPN+nQxB9mSrO17mVvvo
 J5wg2T65S7VNw==
Date: Sat, 01 May 2021 08:09:42 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <yotunnwbnv.fsf@HIDDEN>
Message-ID: <4edb1435266f8ca80b73@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN> <cc0d843240684f380fc9@HIDDEN>
 <yotunnwbnv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: Eli Zaretskii <eliz@HIDDEN>, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> I think this should preferably be automated.  The current ldefs-boot.el 
>> file in the trunk is 25 days old, running admin/update_autogen -L adds 
>> 247 lines and modifies 100 lines.
>
> It gets automaticallly updated on the first of the month.  It could be 
> more frequent, but it would seem like churn for no real reason most of 
> the time.
>

IMO once a week would be better.  An outdated ldefs-boot creates 
unnecessary warnings during the build.

>
> (It wouldn't make any difference to the issue that prompted this 
> report.)
>

That depends on the chosen solution.  You suggested copying ldefs-boot.el 
onto loaddefs.el when it is more recent.  I'm not entirely sure, but it 
seems to me that forcing a regeneration of the loaddefs files during make 
whenever ldefs-boot.el is more recent than loaddefs.el would be a better 
solution.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 1 May 2021 00:17:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 20:17:04 2021
Received: from localhost ([127.0.0.1]:60066 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcdJg-0006rh-81
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 20:17:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58950)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1lcdJe-0006rA-F3
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 20:17:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34175)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rgm@HIDDEN>)
 id 1lcdJX-00043l-PX; Fri, 30 Apr 2021 20:16:56 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1lcdJV-0007t0-2Z; Fri, 30 Apr 2021 20:16:53 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN> <cc0d843240684f380fc9@HIDDEN>
X-Spook: Border GSS Shayet-13 Hamas Bomb threat SEAL 2600 Magazine
X-Ran: BV;,r0VyPcdljDnX4o3w|,PD;B89^$DQhHtw>`YW{E,f\a+J#e*SG)AD*t8@aZ#I@k#S\_
X-Hue: yellow
X-Attribution: GM
Date: Fri, 30 Apr 2021 20:16:52 -0400
In-Reply-To: <cc0d843240684f380fc9@HIDDEN> (Gregory Heytings's message
 of "Fri, 30 Apr 2021 19:20:08 +0000")
Message-ID: <yotunnwbnv.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: Eli Zaretskii <eliz@HIDDEN>, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Gregory Heytings wrote:

> I think this should preferably be automated.  The current
> ldefs-boot.el file in the trunk is 25 days old, running
> admin/update_autogen -L adds 247 lines and modifies 100 lines.

It gets automaticallly updated on the first of the month.
It could be more frequent, but it would seem like churn for no real
reason most of the time.
(It wouldn't make any difference to the issue that prompted this report.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 19:20:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 15:20:12 2021
Received: from localhost ([127.0.0.1]:59854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcYgO-0008D3-Mg
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 15:20:12 -0400
Received: from heytings.org ([95.142.160.155]:60008)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lcYgM-0008Cp-3s
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 15:20:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619810408;
 bh=pGG0BHDYs0uM95pbS+shuFJwsKJdLXiwp8q/POu+x+g=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=U0S+sQ/neeiI5gM9xpZEg7o+T/ZdxEYpR46pbq7PZUFdApawb3aN0zCEMUpCr0UGE
 DjBrV+uvZpw46xopKBJvkRpQp61JK3I8FQptijB1DZdB5lYphslZD4yNdZDEynsXNQ
 hZCXLZHeC9q1m/Fwj2btArT9E5DqxPk9dUlxW8Oon/jvpazVttlz+Ns6Fs2YIFwIH2
 Bug4uaL4WSiEwtkS4fBIsZfgolWkvARu3GX/qdDljm+8ar4u4kxavaBjWGrv5DZakI
 +NhzWHTtCqficq0D8Z24hvD9KSI+y67GmEKxCBzNzLO6xYusUNL5Uu632UAs4DX56Q
 YW5fS2Y51ZS1A==
Date: Fri, 30 Apr 2021 19:20:08 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <83r1ira8rs.fsf@HIDDEN>
Message-ID: <cc0d843240684f380fc9@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
 <83r1ira8rs.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> Note that, as I said, this won't work without keeping ldefs-boot.el up 
>> to date.
>
> We (read: Glenn) already do.  You can see that in "git log".
>

I think this should preferably be automated.  The current ldefs-boot.el 
file in the trunk is 25 days old, running admin/update_autogen -L adds 247 
lines and modifies 100 lines.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 19:10:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 15:10:27 2021
Received: from localhost ([127.0.0.1]:59848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcYWx-0007z8-NA
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 15:10:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54336)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcYWw-0007yw-3J
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 15:10:26 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54824)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcYWq-0002r7-V2; Fri, 30 Apr 2021 15:10:20 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2727
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcYWq-0005eH-7V; Fri, 30 Apr 2021 15:10:20 -0400
Date: Fri, 30 Apr 2021 22:10:15 +0300
Message-Id: <83r1ira8rs.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
In-Reply-To: <cc0d843240787234bdf0@HIDDEN> (message from Gregory
 Heytings on Fri, 30 Apr 2021 19:08:48 +0000)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN> <cc0d843240787234bdf0@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Fri, 30 Apr 2021 19:08:48 +0000
> From: Gregory Heytings <gregory@HIDDEN>
> cc: 48117 <at> debbugs.gnu.org
> 
> Note that, as I said, this won't work without keeping ldefs-boot.el up to 
> date.

We (read: Glenn) already do.  You can see that in "git log".




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 19:08:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 15:08:52 2021
Received: from localhost ([127.0.0.1]:59844 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcYVQ-0007wV-C5
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 15:08:52 -0400
Received: from heytings.org ([95.142.160.155]:59990)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lcYVO-0007wL-9l
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 15:08:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619809729;
 bh=pWVepf8eBHIVfqtni+7xLTlfFwVmeajp4g0VmWzYXaE=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=oh5dCCHNi+Rm0JcAbDTJb+x+a5L907YeP7+yFZmOVT2OKrkzGuJAnkjAWGocG22v4
 CNNxvXtzorD5qZDZPG57boj5N6jXND2fnkifEof9QItbEuISTbrrMbVSaJrz/t2QEW
 yOx/NrJQmy6i0ok+vyaP8Y6rAA3u4Z/RWcqKiXGez0zXOXEVsTeLG7mNRrTau31/ge
 a6YeLXHby5xqRkUjDvEFSBu/ZtvE2xsjyiZEiRm2FLhtocim2Fp7FGSmiCim2BCak9
 GJ8c37q9Z5lRWUdYaMPDYOGrI2+X3LEEDsDLFu8m5jVzL28jDmAZRfeRyqRac6nuhG
 8VGdH5r4POdVQ==
Date: Fri, 30 Apr 2021 19:08:48 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <83tunna9dt.fsf@HIDDEN>
Message-ID: <cc0d843240787234bdf0@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
 <83tunna9dt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> Can ldefs-boot.el not be used to detect whether loaddefs.el needs to be 
>> regenerated?
>
> I believe that's what Glenn suggested a few minutes ago.
>

Yes, it's more or less the same idea, our mails crossed each other because 
of the lists.gnu.org delivery time.

Note that, as I said, this won't work without keeping ldefs-boot.el up to 
date.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 18:57:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 14:57:15 2021
Received: from localhost ([127.0.0.1]:59840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcYKB-0007fb-8u
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 14:57:15 -0400
Received: from eggs.gnu.org ([209.51.188.92]:51542)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcYK9-0007fP-UO
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 14:57:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54500)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcYK4-0003Re-5Y; Fri, 30 Apr 2021 14:57:08 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1786
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcYK3-0000BW-FA; Fri, 30 Apr 2021 14:57:07 -0400
Date: Fri, 30 Apr 2021 21:57:02 +0300
Message-Id: <83tunna9dt.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
In-Reply-To: <cc0d84324083f51bc639@HIDDEN> (message from Gregory
 Heytings on Fri, 30 Apr 2021 17:32:13 +0000)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN> <cc0d84324083f51bc639@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Fri, 30 Apr 2021 17:32:13 +0000
> From: Gregory Heytings <gregory@HIDDEN>
> cc: 48117 <at> debbugs.gnu.org
> 
> Can ldefs-boot.el not be used to detect whether loaddefs.el needs to be 
> regenerated?

I believe that's what Glenn suggested a few minutes ago.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 17:59:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 13:59:10 2021
Received: from localhost ([127.0.0.1]:59791 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcXPy-0006F2-6l
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:59:10 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41204)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcXPw-0006Ep-Pt
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:59:09 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53462)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>) id 1lcXPq-0000Kg-Tn
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:59:03 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2220
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcXPo-0008Nb-L5; Fri, 30 Apr 2021 13:59:01 -0400
Date: Fri, 30 Apr 2021 20:58:55 +0300
Message-Id: <8335v7bqn4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
In-Reply-To: <ad35v7d6r3.fsf@HIDDEN> (message from Glenn Morris on
 Fri, 30 Apr 2021 13:25:36 -0400)
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <ad35v7d6r3.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Glenn Morris <rgm@HIDDEN>
> Cc: 48117 <at> debbugs.gnu.org
> Date: Fri, 30 Apr 2021 13:25:36 -0400
> 
> Another idea, FWIW:
> In the make rule for $(lisp)/loaddefs.el, if loaddefs.el exists and is
> older than ldefs-boot.el, start by copying the latter to the former.
> This ought to limit how outdated loaddefs can get?

Yes, I think this is a good idea.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 17:54:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 13:54:19 2021
Received: from localhost ([127.0.0.1]:59783 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcXLH-00067V-DK
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:54:19 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40168)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcXLG-00067K-CA
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:54:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53347)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcXLA-0006bE-N4; Fri, 30 Apr 2021 13:54:12 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1920
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcXL7-0004d4-Hd; Fri, 30 Apr 2021 13:54:10 -0400
Date: Fri, 30 Apr 2021 20:54:04 +0300
Message-Id: <835z03bqv7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
In-Reply-To: <87r1ir9218.fsf@HIDDEN> (message from Andreas Schwab on Fri,
 30 Apr 2021 18:21:07 +0200)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <87zgxf930u.fsf@HIDDEN>
 <838s4zbvyu.fsf@HIDDEN> <87r1ir9218.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: rgm@HIDDEN,  48117 <at> debbugs.gnu.org
> Date: Fri, 30 Apr 2021 18:21:07 +0200
> 
> On Apr 30 2021, Eli Zaretskii wrote:
> 
> > Judging by the results, that's not so.  Specifically,
> > batch-update-autoloads doesn't regenerate _all_ of the loaddefs.el,
> > only some of its part(s).
> 
> Yes, because it calls update-directory-autoloads for each directory.

AFAIU, Glenn's proposal was to process all the directories.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 17:32:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 13:32:18 2021
Received: from localhost ([127.0.0.1]:59748 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcWzy-0003QP-0I
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:32:18 -0400
Received: from heytings.org ([95.142.160.155]:59826)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lcWzv-0003QG-Su
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:32:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619803934;
 bh=1r7HDvybgBK3tKGPot21bNyjAK8T3HDZzblTbrmEeuw=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=dKv2kx87gHyeyFOpmkKYlqqisKKak9HOqnjP8mAbBltnRmCCHgJfnxqu9EMb8pPvF
 Vt7GZNyN/CqCWPqcvksEhoD48NfujZ9clYdqyCVoMRn3oR8i+NEHCuIJQsoL1+Ozp4
 8L3SIYVHok+Lr6YxJ0TuVuTBCzwSpykNGYBPltcyc4qjfppvyGPq2DwjQ8V3rDdYd8
 7ZzFXjkF1kUMzfR+XWZvaPt5iQmuU84fAUhv8JvI7WS0qgLYG+qrGtRTkM8g0mFi1t
 ctww7O0ZcfH30VKMNSm9LeWqu3qw0IDTLPkp2osjT078WpkXA5PqHZRVYnv8FX/Z47
 emPY71+3Ojl+Q==
Date: Fri, 30 Apr 2021 17:32:13 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <83a6pfbw3s.fsf@HIDDEN>
Message-ID: <cc0d84324083f51bc639@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
 <83a6pfbw3s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> The generated lisp/loaddefs.el file is AFAICS identical to the 
>> lisp/ldefs-boot.el (after calling admin/update_autogen -L), which is 
>> versioned.  Why is the lisp/loaddefs.el generated?
>
> ldefs-boot.el is versioned because it is needed for the initial build of 
> a fresh clone, and it is not identical to loaddefs.el, especially not 
> when you are developing.
>

Can ldefs-boot.el not be used to detect whether loaddefs.el needs to be 
regenerated?  ISTM that if one assumes that ldefs-boot.el is kept up to 
date, it is necessary to regenerate the loaddefs file only when 
ldefs-boot.el becomes more recent than the loaddefs file.  This would 
avoid rebuilding the loaddefs file on each make invocation.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 17:25:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 13:25:48 2021
Received: from localhost ([127.0.0.1]:59737 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcWtg-0003Eh-2r
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:25:48 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33932)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1lcWte-0003ET-Uv
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:25:47 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52606)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rgm@HIDDEN>) id 1lcWtZ-0002eV-Dx
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:25:41 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1lcWtU-0007wN-FC; Fri, 30 Apr 2021 13:25:36 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN>
X-Spook: Artistic Assassins UNCPCJ nkvd Cloud SSCI undercover War
X-Ran: cgw9gM\t>'w!j[Q+*@7K%rG:iA`(ZQD!j'eut!&){z=E-aOnj4*d{*E4BgtZig4a&J&oJ1
X-Hue: brightgreen
X-Attribution: GM
Date: Fri, 30 Apr 2021 13:25:36 -0400
In-Reply-To: <o35z03235o.fsf@HIDDEN> (Glenn Morris's message of
 "Fri, 30 Apr 2021 11:38:43 -0400")
Message-ID: <ad35v7d6r3.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Another idea, FWIW:
In the make rule for $(lisp)/loaddefs.el, if loaddefs.el exists and is
older than ldefs-boot.el, start by copying the latter to the former.
This ought to limit how outdated loaddefs can get?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 17:10:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 13:10:11 2021
Received: from localhost ([127.0.0.1]:59727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcWeZ-0002ni-Hj
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:10:11 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59274)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1lcWeY-0002nO-4y
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 13:10:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52409)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rgm@HIDDEN>)
 id 1lcWeS-0004dN-0g; Fri, 30 Apr 2021 13:10:04 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1lcWeQ-0000c9-G9; Fri, 30 Apr 2021 13:10:02 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <87zgxf930u.fsf@HIDDEN>
X-Spook: Center for Disease Control CCS outage Mara salvatrucha
X-Ran: mK6IBpF3N_vemDm5vl86ZD/yQkcR]v-F>V$U>C=#/O%k["ik/w/u/v1`zgXQRTb8~P"V^w
X-Hue: brightcyan
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Fri, 30 Apr 2021 13:10:02 -0400
In-Reply-To: <87zgxf930u.fsf@HIDDEN> (Andreas Schwab's message of "Fri, 30
 Apr 2021 17:59:45 +0200")
Message-ID: <eco8dvzok5.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: Eli Zaretskii <eliz@HIDDEN>, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Andreas Schwab wrote:

> That's already what batch-update-autoloads does.

Shows how much my memory is worth! :)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 16:21:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 12:21:17 2021
Received: from localhost ([127.0.0.1]:59716 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVtF-0001UP-5K
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 12:21:17 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:54115)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1lcVt7-0001U8-Vd
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 12:21:15 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4FWyKc5t1kz1rxY9;
 Fri, 30 Apr 2021 18:21:08 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4FWyKc3Ml5z1qqkp;
 Fri, 30 Apr 2021 18:21:08 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id AuFqhllltfKz; Fri, 30 Apr 2021 18:21:07 +0200 (CEST)
X-Auth-Info: 9y7V3C2vZi6F4MHtSZG4aLC9TyTNMFv+vLa0Asi7nTcU561EUFjrZcDHhsc9N+Bx
Received: from igel.home (ppp-46-244-182-186.dynamic.mnet-online.de
 [46.244.182.186])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Fri, 30 Apr 2021 18:21:07 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 3CC642C37B7; Fri, 30 Apr 2021 18:21:07 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <87zgxf930u.fsf@HIDDEN>
 <838s4zbvyu.fsf@HIDDEN>
X-Yow: Two LITTLE black dots and one BIG black dot...nice 'n' FLUFFY!!
Date: Fri, 30 Apr 2021 18:21:07 +0200
In-Reply-To: <838s4zbvyu.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 30 Apr
 2021 19:03:53 +0300")
Message-ID: <87r1ir9218.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

On Apr 30 2021, Eli Zaretskii wrote:

> Judging by the results, that's not so.  Specifically,
> batch-update-autoloads doesn't regenerate _all_ of the loaddefs.el,
> only some of its part(s).

Yes, because it calls update-directory-autoloads for each directory.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 16:04:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 12:04:14 2021
Received: from localhost ([127.0.0.1]:59657 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVcj-00010x-Vj
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 12:04:14 -0400
Received: from eggs.gnu.org ([209.51.188.92]:44388)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcVci-00010l-QE
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 12:04:13 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:50265)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcVcd-0005n1-IR; Fri, 30 Apr 2021 12:04:07 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3156
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcVcU-0004EX-KN; Fri, 30 Apr 2021 12:03:59 -0400
Date: Fri, 30 Apr 2021 19:03:53 +0300
Message-Id: <838s4zbvyu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
In-Reply-To: <87zgxf930u.fsf@HIDDEN> (message from Andreas Schwab on Fri,
 30 Apr 2021 17:59:45 +0200)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN> <87zgxf930u.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: rgm@HIDDEN, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  48117 <at> debbugs.gnu.org
> Date: Fri, 30 Apr 2021 17:59:45 +0200
> 
> On Apr 30 2021, Glenn Morris wrote:
> 
> > always regenerate loaddefs, but using a temporary file name for the
> > main loaddefs.
> > use build-aux/move-if-change to only replace the real loaddefs file if
> > there have been changes.
> 
> That's already what batch-update-autoloads does.

Judging by the results, that's not so.  Specifically,
batch-update-autoloads doesn't regenerate _all_ of the loaddefs.el,
only some of its part(s).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 16:01:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 12:01:16 2021
Received: from localhost ([127.0.0.1]:59653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVZs-0008If-Ap
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 12:01:16 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43764)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcVZq-0008CU-16
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 12:01:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:50184)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcVZk-0004x8-Lm; Fri, 30 Apr 2021 12:01:08 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2974
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcVZc-0000Ue-Qo; Fri, 30 Apr 2021 12:01:03 -0400
Date: Fri, 30 Apr 2021 19:00:55 +0300
Message-Id: <83a6pfbw3s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
In-Reply-To: <cc0d8432401bd57c9bb2@HIDDEN> (message from Gregory
 Heytings on Fri, 30 Apr 2021 15:47:51 +0000)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN> <cc0d8432401bd57c9bb2@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Fri, 30 Apr 2021 15:47:51 +0000
> From: Gregory Heytings <gregory@HIDDEN>
> cc: 48117 <at> debbugs.gnu.org
> 
> Why are these files not versioned?

Because we try not to keep in Git any files that are generated by the
build.  It's redundant to have them there, and also causes frequent
unnecessary conflicts.

> The generated lisp/loaddefs.el file is AFAICS identical to the 
> lisp/ldefs-boot.el (after calling admin/update_autogen -L), which is 
> versioned.  Why is the lisp/loaddefs.el generated?

ldefs-boot.el is versioned because it is needed for the initial build
of a fresh clone, and it is not identical to loaddefs.el, especially
not when you are developing.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:59:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:59:51 2021
Received: from localhost ([127.0.0.1]:59649 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVYV-0007AS-0W
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:59:51 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:50490)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1lcVYS-0007AH-IX
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:59:49 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4FWxrz2NMMz1qsk7;
 Fri, 30 Apr 2021 17:59:47 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4FWxrz0PYxz1qqkp;
 Fri, 30 Apr 2021 17:59:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id 0KtQO3TwUDuQ; Fri, 30 Apr 2021 17:59:46 +0200 (CEST)
X-Auth-Info: Ipchhzt+pYCID/Huzottkj9yeTwySTrOA8bF640RQYhPOxUCikOEjT6CPgmoVoDs
Received: from igel.home (ppp-46-244-182-186.dynamic.mnet-online.de
 [46.244.182.186])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Fri, 30 Apr 2021 17:59:46 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id C21902C37B7; Fri, 30 Apr 2021 17:59:45 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN>
X-Yow: ..  the HIGHWAY is made out of LIME JELLO and my HONDA
 is a barbequed OYSTER!  Yum!
Date: Fri, 30 Apr 2021 17:59:45 +0200
In-Reply-To: <o35z03235o.fsf@HIDDEN> (Glenn Morris's message of
 "Fri, 30 Apr 2021 11:38:43 -0400")
Message-ID: <87zgxf930u.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 48117
Cc: Eli Zaretskii <eliz@HIDDEN>, 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

On Apr 30 2021, Glenn Morris wrote:

> always regenerate loaddefs, but using a temporary file name for the
> main loaddefs.
> use build-aux/move-if-change to only replace the real loaddefs file if
> there have been changes.

That's already what batch-update-autoloads does.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:51:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:51:43 2021
Received: from localhost ([127.0.0.1]:59633 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVQd-0006yA-FH
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:51:43 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41808)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcVQb-0006xy-3P
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:51:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49932)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>) id 1lcVQV-0001OD-La
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:51:35 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2392
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcVQT-0000ii-Ss; Fri, 30 Apr 2021 11:51:34 -0400
Date: Fri, 30 Apr 2021 18:51:28 +0300
Message-Id: <83czubbwjj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
In-Reply-To: <o35z03235o.fsf@HIDDEN> (message from Glenn Morris on
 Fri, 30 Apr 2021 11:38:43 -0400)
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
 <o35z03235o.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Glenn Morris <rgm@HIDDEN>
> Cc: 48117 <at> debbugs.gnu.org
> Date: Fri, 30 Apr 2021 11:38:43 -0400
> 
> One idea, don't know if workable:
> always regenerate loaddefs, but using a temporary file name for the
> main loaddefs.
> use build-aux/move-if-change to only replace the real loaddefs file if
> there have been changes. Although again, it's possible these would not
> be "real" (ie significant) changes.

Thanks, I think it's worth trying.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:48:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:48:50 2021
Received: from localhost ([127.0.0.1]:59625 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVNp-0006tO-P5
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:48:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcVNo-0006tD-Kv
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:48:48 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49903)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>) id 1lcVNj-0000KK-DE
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:48:43 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2213
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcVNh-0000Y0-50; Fri, 30 Apr 2021 11:48:41 -0400
Date: Fri, 30 Apr 2021 18:48:34 +0300
Message-Id: <83im43bwod.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
In-Reply-To: <2weeer23xj.fsf@HIDDEN> (message from Glenn Morris on
 Fri, 30 Apr 2021 11:22:00 -0400)
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Glenn Morris <rgm@HIDDEN>
> Cc: 48117 <at> debbugs.gnu.org
> Date: Fri, 30 Apr 2021 11:22:00 -0400
> 
> This issue has been present forever.

Yes, I know.  This isn't trivial, or else it would have been solved
long ago.

> 1) autoload generation is slow.

Based on my latest experience, I think this is somewhat exaggerated,
especially given that our builds became slower lately.

> 2) the dependencies of the loaddefs files are unknown to make,
> and are basically "all lisp files". (You can't even say "just those
> files with autoload statements", because removing a previously existing
> autoload statement changes the output.)
> 
> 3) Traditionally, re-making loaddefs files could make trivial changes
> to the output that weren't important (eg ordering of the "no
> autoloads" section, timestamping), but would still trigger re-dumping emacs.
> Which could then trigger regeneration of the autoloads, and
> re-dumping, etc.  This may be better nowadays, since there is no
> longer timestamp information in the loaddefs files (see autoload-timestamps).

What worries me the most is that when 'autoloads' is run (and it is,
from time to time), we still end up with outdated loaddefs.el.  I
think we could live with outdated loaddefs.el for short periods of
time, but it looks like running 'autoloads' only updates the part(s)
of the file for Lisp files that the build thinks to be responsible for
the update.  Or something like that, because how else to explain that
some parts remain outdated?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:47:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:47:55 2021
Received: from localhost ([127.0.0.1]:59621 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVMx-0006ru-Ft
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:47:55 -0400
Received: from heytings.org ([95.142.160.155]:59678)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lcVMv-0006rk-Ac
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:47:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619797672;
 bh=VOCmOf3W/6tDTaZ0tcNayVm3DfJD9J9Fo46Re7HeHUw=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=ay5glJLfG9ncxA3UQ5jATuvbnKnTkswELDbxYtR1dzaQ3QFptqs+0U+sVcqPPttM4
 haFtyo66hogdPm+VUJVQ5nXbnXidVV0yLJGQA9NAWeJuebZMmrdmiuSNiRVpJaChEr
 Ps3OoLEhfVVHo6onqTGs9ow+eguPqf4aqCpWxOg2gde+nWonv0HV3L8G4C6Yp7g55N
 Vrkkme/IzBv9Hi4p1Lo/E+oUkUv1wq4UxMrFGi3DVnKLNRAzVEtz5b7GRMP74bTsZp
 QqZ0PxBSdYsGZ72JxZJSGv9hWo/U03RW44mEy9jFQRkiH8QBmXALEkd+0VJTzelBvL
 90JsEThkPtT2w==
Date: Fri, 30 Apr 2021 15:47:51 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <83lf8zbyr8.fsf@HIDDEN>
Message-ID: <cc0d8432401bd57c9bb2@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
 <83lf8zbyr8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>>> These updates should happen automatically, they should not require 
>>> people to "make bootstrap" or manually regenerate loaddefs.el.
>>
>> Would it not make sense to include these changes in their respective 
>> commits?
>
> loaddefs.el is a generated file (and so are the other *-loaddefs.el 
> files).
>

Ah, yes, indeed.

>> Another solution would be to have a cron job running somewhere and 
>> automatically pushing these changes once a day or so.
>
> How can we do that for files that aren't versioned?
>

I have two questions:

Why are these files not versioned?

The generated lisp/loaddefs.el file is AFAICS identical to the 
lisp/ldefs-boot.el (after calling admin/update_autogen -L), which is 
versioned.  Why is the lisp/loaddefs.el generated?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:38:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:38:53 2021
Received: from localhost ([127.0.0.1]:59588 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcVED-0004TV-3m
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:38:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39012)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1lcVEC-0004TI-J4
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:38:52 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49627)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rgm@HIDDEN>) id 1lcVE7-00052Q-DK
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:38:47 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1lcVE3-00088e-U6; Fri, 30 Apr 2021 11:38:44 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <2weeer23xj.fsf@HIDDEN>
X-Spook: Alcohol Tobacco and Firearms Mahmoud Ahmadinejad
X-Ran: +Q="k7pMUqw6"R?<e91Jj#fA/q9KJG+m.gv8tSG8"Rl)eW6Ebnd`9{j$!M;)0->{Os&>Vn
X-Hue: brightred
X-Attribution: GM
Date: Fri, 30 Apr 2021 11:38:43 -0400
In-Reply-To: <2weeer23xj.fsf@HIDDEN> (Glenn Morris's message of
 "Fri, 30 Apr 2021 11:22:00 -0400")
Message-ID: <o35z03235o.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


One idea, don't know if workable:
always regenerate loaddefs, but using a temporary file name for the
main loaddefs.
use build-aux/move-if-change to only replace the real loaddefs file if
there have been changes. Although again, it's possible these would not
be "real" (ie significant) changes.

This would mean every invocation of make would generate a loaddefs file,
often for no need, which seems ugly.
It's a trade off between doing things properly (which is a bootstrap)
and efficiently, as has always been the case with Emacs's build.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:22:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:22:45 2021
Received: from localhost ([127.0.0.1]:59565 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcUyb-000456-0F
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:22:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1lcUyZ-00044u-Eh
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:22:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49260)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rgm@HIDDEN>) id 1lcUyL-0008FI-NV
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:22:34 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1lcUxs-0000C7-1d; Fri, 30 Apr 2021 11:22:02 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50;
 Update of loaddefs.el during normal build is unreliable
References: <8335v8c7o0.fsf@HIDDEN>
X-Spook: Al Jazeera Exposure Sonora Drug Enforcement Agency
X-Ran: `.7$XF!=oMp_}vdAa(Uh-M!*weO)HPTc[|+\L>;W6<"<Ukxg^xgTkRh,o{Pp8o$xCh1afZ
X-Hue: brightred
X-Attribution: GM
Date: Fri, 30 Apr 2021 11:22:00 -0400
In-Reply-To: <8335v8c7o0.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 30 Apr
 2021 14:51:11 +0300")
Message-ID: <2weeer23xj.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


This issue has been present forever.
There are some comments in the Makefiles about it.
There are several issues, eg:

1) autoload generation is slow.

2) the dependencies of the loaddefs files are unknown to make,
and are basically "all lisp files". (You can't even say "just those
files with autoload statements", because removing a previously existing
autoload statement changes the output.)

3) Traditionally, re-making loaddefs files could make trivial changes
to the output that weren't important (eg ordering of the "no
autoloads" section, timestamping), but would still trigger re-dumping emacs.
Which could then trigger regeneration of the autoloads, and
re-dumping, etc.  This may be better nowadays, since there is no
longer timestamp information in the loaddefs files (see autoload-timestamps).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:03:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:03:56 2021
Received: from localhost ([127.0.0.1]:59540 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcUgO-0003d8-GF
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:03:56 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58750)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcUgM-0003cu-J1
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:03:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48771)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lcUgH-0000sS-Ci; Fri, 30 Apr 2021 11:03:49 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3448
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lcUgD-000481-Mt; Fri, 30 Apr 2021 11:03:48 -0400
Date: Fri, 30 Apr 2021 18:03:39 +0300
Message-Id: <83lf8zbyr8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gregory Heytings <gregory@HIDDEN>
In-Reply-To: <cc0d84324006e7a907f8@HIDDEN> (message from Gregory
 Heytings on Fri, 30 Apr 2021 15:01:15 +0000)
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
References: <8335v8c7o0.fsf@HIDDEN> <cc0d84324006e7a907f8@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Fri, 30 Apr 2021 15:01:15 +0000
> From: Gregory Heytings <gregory@HIDDEN>
> cc: 48117 <at> debbugs.gnu.org
> 
> > These updates should happen automatically, they should not require 
> > people to "make bootstrap" or manually regenerate loaddefs.el.
> >
> 
> Would it not make sense to include these changes in their respective 
> commits?

loaddefs.el is a generated file (and so are the other *-loaddefs.el
files).

> Another solution would be to have a cron job running somewhere and 
> automatically pushing these changes once a day or so.

How can we do that for files that aren't versioned?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at 48117 <at> debbugs.gnu.org:


Received: (at 48117) by debbugs.gnu.org; 30 Apr 2021 15:01:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:01:18 2021
Received: from localhost ([127.0.0.1]:59536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcUdq-0003ZW-1D
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:01:18 -0400
Received: from heytings.org ([95.142.160.155]:59594)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@HIDDEN>) id 1lcUdo-0003ZM-Hf
 for 48117 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:01:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20210101; t=1619794875;
 bh=rroJp5dWnCDUXr8q/Aq75M9UcjMqNzrpopjwrGrdegw=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=GFrwZPLQBNcBTnTPP9xSDAoMYEpC+slT4iZCNOFqHDqpKO/eHDriN0wy/DUGH36GZ
 xTAAPMYFXih8Dv3dSwlDGtOjomDOK1JTAtz20BpWWZBzP+UI/frzsfRMW1AWOEBJyb
 kyQdeiueUJulpsJDjn3o6daPsxRMIRjHqzYzmB2klIGdZKEKrdA+zMtQT2qzT1KHR8
 sd3+KnW7jYSqZvWDMKtA7B4MAn4k9mPZpR58/iYnLyT4a1BdCbn3QICIq2EQfGp4wR
 0Jy8gr1UM7veiDTqX8hr0t2dDo6VT4hqXLm/8gVjYn1xa0+3eXld/Cc+rEiNXyD3DK
 Qn6yRcocjQntw==
Date: Fri, 30 Apr 2021 15:01:15 +0000
From: Gregory Heytings <gregory@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48117: 28.0.50; Update of loaddefs.el during normal build
 is unreliable
In-Reply-To: <8335v8c7o0.fsf@HIDDEN>
Message-ID: <cc0d84324006e7a907f8@HIDDEN>
References: <8335v8c7o0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48117
Cc: 48117 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>
> If you keep rebuilding Emacs from the Git repository using just the 
> "make -jN" commands, to track the development branches, after some time 
> loaddefs.el becomes outdated.  To see the outdated parts, rename 
> loaddefs.el and then say
>
>  $ make -C lisp autoloads-force
>
> Then compare the old loaddefs.el with the newly created one: you will 
> see many changes, depending on when was the last time you bootstrapped 
> or otherwise regenerated loaddefs.el from scratch.
>
> This happens because regeneration of the parts of loaddefs.el affected 
> by Lisp changes is unreliable and misses some changes, in particular 
> those where autoloads from some Lisp files are redirected to private 
> *-loaddefs.el files instead of the common loaddefs.el.
>
> These updates should happen automatically, they should not require 
> people to "make bootstrap" or manually regenerate loaddefs.el.
>

Would it not make sense to include these changes in their respective 
commits?

Another solution would be to have a cron job running somewhere and 
automatically pushing these changes once a day or so.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Apr 2021 11:51:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 07:51:22 2021
Received: from localhost ([127.0.0.1]:57683 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lcRg2-0006dU-9K
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 07:51:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:52830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lcRg0-0006dN-OC
 for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 07:51:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46886)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1lcRg0-0006R2-EM
 for bug-gnu-emacs@HIDDEN; Fri, 30 Apr 2021 07:51:20 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42974)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>) id 1lcRg0-0000po-62
 for bug-gnu-emacs@HIDDEN; Fri, 30 Apr 2021 07:51:20 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3328
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1lcRfz-000411-Al
 for bug-gnu-emacs@HIDDEN; Fri, 30 Apr 2021 07:51:19 -0400
Date: Fri, 30 Apr 2021 14:51:11 +0300
Message-Id: <8335v8c7o0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; Update of loaddefs.el during normal build is unreliable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

If you keep rebuilding Emacs from the Git repository using just the
"make -jN" commands, to track the development branches, after some
time loaddefs.el becomes outdated.  To see the outdated parts, rename
loaddefs.el and then say

  $ make -C lisp autoloads-force

Then compare the old loaddefs.el with the newly created one: you will
see many changes, depending on when was the last time you bootstrapped
or otherwise regenerated loaddefs.el from scratch.

This happens because regeneration of the parts of loaddefs.el affected
by Lisp changes is unreliable and misses some changes, in particular
those where autoloads from some Lisp files are redirected to private
*-loaddefs.el files instead of the common loaddefs.el.

These updates should happen automatically, they should not require
people to "make bootstrap" or manually regenerate loaddefs.el.

In GNU Emacs 28.0.50 (build 122, i686-pc-mingw32)
 of 2021-04-30 built on HOME-C4E4A596F7
Repository revision: ab7a61e0efd0684bc37a556d12f36521f9f61782
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 5.1.2600
System Description: Microsoft Windows XP Service Pack 3 (v5.1.0.2600)

Configured using:
 'configure -C --prefix=/d/usr --with-wide-int --with-native-compilation
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -gdwarf-4 -g3''

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
XPM ZLIB

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs
password-cache json map text-property-search time-date mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp
comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq
byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty
make-network-process nativecomp emacs)

Memory information:
((conses 16 84237 12365)
 (symbols 48 8956 1)
 (strings 16 25167 3939)
 (string-bytes 1 768361)
 (vectors 16 16937)
 (vector-slots 8 295589 16641)
 (floats 8 28 124)
 (intervals 40 267 89)
 (buffers 888 11))




Acknowledgement sent to Eli Zaretskii <eliz@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#48117; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 3 May 2021 08:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.