From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#26459: 26.0.50; loaddefs.el is regenerated after each "git pull" Date: Wed, 12 Apr 2017 12:43:01 -0400 Message-ID: References: <83k26qj9av.fsf@gnu.org> <8ulgr5ty70.fsf@fencepost.gnu.org> <831ssxk3z0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492015462 11616 195.159.176.226 (12 Apr 2017 16:44:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2017 16:44:22 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: eggert@cs.ucla.edu, raeburn@raeburn.org, 26459@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 12 18:44:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyLNM-0002p0-IS for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 18:44:12 +0200 Original-Received: from localhost ([::1]:45312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyLNS-0000Gy-BG for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 12:44:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyLNI-0000Gn-D0 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 12:44:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyLNC-0000HI-Ox for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 12:44:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyLNC-0000HC-Lk for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 12:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cyLNC-0006VD-FE for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2017 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26459 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26459-submit@debbugs.gnu.org id=B26459.149201539024927 (code B ref 26459); Wed, 12 Apr 2017 16:44:02 +0000 Original-Received: (at 26459) by debbugs.gnu.org; 12 Apr 2017 16:43:10 +0000 Original-Received: from localhost ([127.0.0.1]:44645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyLML-0006Tz-Rv for submit@debbugs.gnu.org; Wed, 12 Apr 2017 12:43:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyLMK-0006Tm-J3 for 26459@debbugs.gnu.org; Wed, 12 Apr 2017 12:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyLME-0008Vc-3J for 26459@debbugs.gnu.org; Wed, 12 Apr 2017 12:43:03 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyLMD-0008VY-Vv; Wed, 12 Apr 2017 12:43:02 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cyLMD-0006fZ-DS; Wed, 12 Apr 2017 12:43:01 -0400 X-Spook: ICE CIKR Cyber Command Resistant JFK Agriculture Abu X-Ran: ]|!itQzuD?/Z`k4xh?vR5/'w9FC2!1U`yd+;&IuGdRs*D[(mA{\RR[=\a!Ct*g'BZNiVT? X-Hue: white X-Attribution: GM In-Reply-To: <831ssxk3z0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Apr 2017 19:03:47 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131509 Archived-At: Eli Zaretskii wrote: >> IIUC 440bafe has made this much slower by defeating the prior "only >> update where needed" aspect of this. > > 440bafe made the rule generate the loaddefs in a temporary file. > Would it help to copy loaddefs.el into loaddefs.tmp before running > batch-update-autoloads? Probably, together with a move-if-change at the end. Actually, I think it would be better to make the "write to a tempfile" aspect internal to Emacs, the same as it is for byte-compile-file. Then all loaddefs generation would get the benefit. (I wonder whether it could be pushed to a lower lever still, by giving write-region an optional "atomic" mode of operation?) > Still, I don't see why the time stamp of loaddefs.el should be > ignored. The Makefile doesn't know the dependencies, so the output timestamp is meaningless to it. It must defer to Emacs to decide whether the file is up-to-date.