From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.bugs Subject: bug#23203: 25.0.91; some loaddefs files have auto-save remnants after building (and install doesn't ignore them) Date: Sun, 3 Apr 2016 19:46:40 +0100 Message-ID: <3bf1141d622845eb4fe66b6dce573551.squirrel@cloud103.planethippo.com> References: <87twjjqidp.fsf@Rainer.invalid> <87shz35b8i.fsf@Rainer.invalid> <87lh4v0y1z.fsf@linux-m68k.org> <87egam6hif.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20160403194640_65729" X-Trace: ger.gmane.org 1459709243 15472 80.91.229.3 (3 Apr 2016 18:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2016 18:47:23 +0000 (UTC) Cc: 23203@debbugs.gnu.org To: "Achim Gratz" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 03 20:47:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1amn3I-00014L-9r for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 20:47:12 +0200 Original-Received: from localhost ([::1]:54808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amn3H-0004kb-L7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 14:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amn3D-0004kI-VE for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amn38-0006NI-Ux for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:47:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amn38-0006NE-OB for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1amn38-0005Ts-F7 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Phillip Lord" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Apr 2016 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23203 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23203-submit@debbugs.gnu.org id=B23203.145970920721048 (code B ref 23203); Sun, 03 Apr 2016 18:47:02 +0000 Original-Received: (at 23203) by debbugs.gnu.org; 3 Apr 2016 18:46:47 +0000 Original-Received: from localhost ([127.0.0.1]:50260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amn2t-0005TQ-K1 for submit@debbugs.gnu.org; Sun, 03 Apr 2016 14:46:47 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:42396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amn2s-0005TB-DZ for 23203@debbugs.gnu.org; Sun, 03 Apr 2016 14:46:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Cc:To:From:Subject: Date:References:In-Reply-To:Message-ID; bh=kVyno64tC4+eCfqOHx7GfEO2/KT/K1TlS9TAfc/44io=; b=kNaGso16RdIiMjvM0JazoW15Ea NfIBpOa7nR9K/lhklKSdiO8sHCROmWa9aWjI3jx71e4nxzTBSnyRMafO/0w4kiEaWPhiouRoeMZjv fnDRp7QpRZeO+c8Tj1JHnOqjERpSBv91Q3pbrQQ2GhrmsOx2sQ0B76QhiduG1DBwd8mF5Xtk56lNh jWc4uYu9ESXCUwjbuhfQl7lsO7Y709kJJPh8Ve9XxxboJw32/xSrhq6Rwfqte4d605DRF8lhTgOes sNeVva41lMbH0lItJX/lSwsW3qm1hDnUmH3cTyPMydcW7jY/nBLB7+g7UhBgFyIJfdAEmQmWo3D0B HshHMC3Q==; Original-Received: from [127.0.0.1] (port=60022 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1amn2m-0034lO-Fc; Sun, 03 Apr 2016 19:46:40 +0100 Original-Received: from 77.98.219.118 ([77.98.219.118]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Sun, 3 Apr 2016 19:46:40 +0100 In-Reply-To: <87egam6hif.fsf@Rainer.invalid> User-Agent: SquirrelMail/1.5.2 [SVN] X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115969 Archived-At: ------=_20160403194640_65729 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Sun, April 3, 2016 12:47 pm, Achim Gratz wrote: > Andreas Schwab writes: > >> Achim Gratz writes: >> >>> as there is no point of having a backup for an auto-generated file. >> >> I disagree. Even for generated files you may want to check what has >> changed when last regenerated. > > There was no previous version, this being a bootstrap build. And if I > want to check differences between builds, I can just use different build > directories. The attached patch fixes the problem in my hands (assuming we believe that this is a bug). The solution may be a bit blunt, though, although the function patched is documented as "use in batch during build". Phil ------=_20160403194640_65729 Content-Type: text/x-patch; name="fix.diff" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="fix.diff" diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index e688d6b..bc7873b 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -870,6 +870,9 @@ batch-update-autoloads ;; Exclude those files that are preloaded on ALL platforms. ;; These are the ones in loadup.el where "(load" is at the start ;; of the line (crude, but it works). + ;; Stop the production of backup files which make little sense + ;; during the build process. + (setq make-backup-files nil) (unless autoload-excludes (let ((default-directory (file-name-directory generated-autoload-file)) file) ------=_20160403194640_65729--