From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.bugs Subject: bug#25360: File mode specification errors during building Date: Wed, 01 Mar 2017 16:55:54 +0000 Message-ID: <8737ex0wdh.fsf@russet.org.uk> References: <87mvest1vz.fsf@russet.org.uk> <87h94zyj5s.fsf@users.sourceforge.net> <1760ldfurw.fsf@fencepost.gnu.org> <87k29t4a3d.fsf@russet.org.uk> <8737ghxjce.fsf@users.sourceforge.net> <8737gf8h0g.fsf@russet.org.uk> <83k29r6nnw.fsf@gnu.org> <87lgu4qfst.fsf@russet.org.uk> <874m0q7xo6.fsf@russet.org.uk> <83a8ah4wh8.fsf@gnu.org> <87fuk839l7.fsf@russet.org.uk> <83tw8o3169.fsf@gnu.org> <87o9yfzk3z.fsf@russet.org.uk> <83h94772di.fsf@gnu.org> <878tp8sx4l.fsf@russet.org.uk> <87k28loo4a.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488387436 29371 195.159.176.226 (1 Mar 2017 16:57:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 16:57:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: npostavs@users.sourceforge.net, 25360@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 01 17:57:09 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 1cj7Yo-0006Za-1C for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 17:57:06 +0100 Original-Received: from localhost ([::1]:47628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj7Yt-0003pD-Uy for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 11:57:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj7Yn-0003ow-Un for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:57:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cj7Yk-0000Hj-MI for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:57:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cj7Yk-0000HF-Ij for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cj7Yk-0004YQ-9R for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@russet.org.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Mar 2017 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25360-submit@debbugs.gnu.org id=B25360.148838736517432 (code B ref 25360); Wed, 01 Mar 2017 16:57:02 +0000 Original-Received: (at 25360) by debbugs.gnu.org; 1 Mar 2017 16:56:05 +0000 Original-Received: from localhost ([127.0.0.1]:34669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj7Xo-0004X4-0P for submit@debbugs.gnu.org; Wed, 01 Mar 2017 11:56:05 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:45372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj7Xl-0004WY-DQ for 25360@debbugs.gnu.org; Wed, 01 Mar 2017 11:56:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; 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=Egpzc7Dp5fSz/xXdr/YExkiyskkDHzrWrZWgnLRMXTE=; b=R4tw82/RfLhlhmFLHg4fi1vil EOD8BS1BrRX2i/+vwQd0rvoArula594N24hYy/vHUIGNJIsErP0LeCzfOtgzcYsAekr8o6D9fhKg+ EuDyM5wwn8ZJGKotdLtZpJA8KIgiKA3q1S4IhDBnZNM6XQISKUs1w4lDqh91Ny8PY8/igaPJPp6Up OsXIO09NqXvhtgKCrY6YUbrIXzLuP28r7rIjU3fI6lFo5JDqPYrLXJ5/HAzp3bhvtZ1BDLKx7TMmQ ldSpV7RecQB812WoCoYwFrw+KUiNp8TuAKzZuYgTH0nAMEzpBQok63SRe+n4a/pttBVAekFnnJzv6 6Z4g7xSBA==; Original-Received: from janus-nat-128-240-225-75.ncl.ac.uk ([128.240.225.75]:48609 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from ) id 1cj7Xf-0002bc-0Q; Wed, 01 Mar 2017 16:55:55 +0000 In-Reply-To: <87k28loo4a.fsf@russet.org.uk> (Phillip Lord's message of "Sun, 19 Feb 2017 21:40:53 +0000") 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-Source: X-Source-Args: X-Source-Dir: 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:129991 Archived-At: I've added changes to master which means that ldefs-boot-auto can be regenerated without a bootstrap build. If the build breaks again, it can be refixed rapidly now. I'll leave this for a while. If it breaks often, I'll revert, but only time can tell. Phil phillip.lord@russet.org.uk (Phillip Lord) writes: > No, it doesn't, and I can see no obvious way of achieving this. > > Perhaps it doesn't matter. These warnings will only occur during a full > bootstrap. So just switching the warnings off during bootstrap would > solve the problem. But this is also unsatisfying in other ways, and > probably more unsatisfying that just having ldefs-boot.el as before. > > I have thought about the awk solution also. This seems to me to be > pretty hard, simply because the rules for doing autoloads are > complicated. Another possibility is to shrink loadup.el so that > bootstrap-emacs is more limited in functionality still. > > At this point, though, I have to admit that I am leaning toward just > reverting. > > Phil > > Glenn Morris writes: > >> Another issue that I think is related to this: >> Now there are lots of free variable (and unused lexical, due to missing >> defvars) warnings during bootstrapping, about autoloaded variables. The >> new ldefs stuff doesn't seem to handle variables at all? >> >> Ref eg >> http://hydra.nixos.org/build/48993155/log/raw >> >> In toplevel form: >> files.el:750:1:Warning: Unused lexical variable `tramp-mode' >> >> In directory-files-recursively: >> files.el:761:10:Warning: reference to free variable `tramp-mode' >> >> In find-alternate-file: >> files.el:1740:17:Warning: reference to free variable `dired-directory' >> files.el:1750:15:Warning: assignment to free variable `dired-directory' >> >> etc