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 21:11:34 +0100 Message-ID: References: <87twjjqidp.fsf@Rainer.invalid> <87shz35b8i.fsf@Rainer.invalid> <87lh4v0y1z.fsf@linux-m68k.org> <87egam6hif.fsf@Rainer.invalid> <3bf1141d622845eb4fe66b6dce573551.squirrel@cloud103.planethippo.com> <83fuv2plj5.fsf@gnu.org> <837fgepjm7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1459714347 24297 80.91.229.3 (3 Apr 2016 20:12:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2016 20:12:27 +0000 (UTC) Cc: 23203@debbugs.gnu.org, stromeko@nexgo.de, Phillip Lord To: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 03 22:12:16 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 1amoNa-0004Tg-4U for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 22:12:14 +0200 Original-Received: from localhost ([::1]:55088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amoNX-0004f1-KI for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 16:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amoNS-0004c1-Oc for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 16:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amoNO-0005rl-OF for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 16:12:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amoNO-0005rh-L3 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 16:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1amoNO-0000em-Et for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 16:12: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 20:12: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.14597143012495 (code B ref 23203); Sun, 03 Apr 2016 20:12:02 +0000 Original-Received: (at 23203) by debbugs.gnu.org; 3 Apr 2016 20:11:41 +0000 Original-Received: from localhost ([127.0.0.1]:50320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amoN3-0000eB-KA for submit@debbugs.gnu.org; Sun, 03 Apr 2016 16:11:41 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:45141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amoN2-0000dy-Hx for 23203@debbugs.gnu.org; Sun, 03 Apr 2016 16:11:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=OKndSDe5YVIJzmrzkoZI1qI6aVVZtABhe6tt9cNXE2M=; b=rM6DmWTlTSjJUFfkC0urm/81tg I/VG8cYKum714lZcrXWMckHhjw1qa9JBsQQnbAy6zvPU7wx2Hk9gf3joF6ljAzv9RdFnaxEQWe9qy tp4HnXaHIUh2iwWhZ0tGnDfOEvp1NrJfZWUQuzfn7KjSY9B4sNQ3/OrlmWxlcb06HgSLn5YjiT9rt y5/LQhcuVQytZRs7kSf+o02gFpPYqEn2SCruYquLCOcPKzUK16lVDDWu2CGj6hmG7lHpiFQoenxYk R2drCICBdBD6GQ9U5WmR0+1xjTGqDZg9vKkib4yA9eCBuizVWl2pVhGG1j6+wJ9wJfIoFppsavWJq PVU5ekZQ==; Original-Received: from [127.0.0.1] (port=34533 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1amoMw-003H8Z-Dm; Sun, 03 Apr 2016 21:11:34 +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 21:11:34 +0100 In-Reply-To: <837fgepjm7.fsf@gnu.org> 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:115981 Archived-At: On Sun, April 3, 2016 8:39 pm, Eli Zaretskii wrote: >> Date: Sun, 3 Apr 2016 20:33:37 +0100 >> From: "Phillip Lord" >> Cc: "Phillip Lord" , >> 23203@debbugs.gnu.org, >> stromeko@nexgo.de >> >>> If needed, backups can be disabled from the command line. >>> >> >> That works too (see attached diff), although it's a bit of pain because >> of duplication in the makefile. > > Thanks. > > >> I would ask though, when do we want backup files produced from the >> batch-update-autoloads function? > > Emacs always makes backups of all the files it writes, so summarily > exempting autoload files from this rule sounds wrong to me. Who are we to > dictate to the entire world out there whether they should or shouldn't > have backups of these files? Who are we? Well, the obvious answer is core Emacs devs with commit privileges. Actually, my first batch did not exempt autoload files. It only did that when called using batch-update-autoloads: i.e. in batch, and in a function which is commented (but not documented) to be for use during the Emacs build process. Interactive calls to "update-directory-autoloads" and the like would be unaffected. I think that the comment is wrong, as I use this function outside of the Emacs build process (and I am sure others do also), so I think we should remove that. Alternatively, if it is right, we should move it do the docstring. But, I think having a "no backup files" default is still sensible for a function used in batch; if it is always used this way in the Emacs build, then it it telling us something. So, I would change it, and update the docstring. We could also split the function, so that there is a version which does not suppress backup files.