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: Sun, 19 Feb 2017 21:40:53 +0000 Message-ID: <87k28loo4a.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487540533 17832 195.159.176.226 (19 Feb 2017 21:42:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 21:42:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (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 Sun Feb 19 22:42:08 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 1cfZF7-00043V-MA for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 22:42:06 +0100 Original-Received: from localhost ([::1]:35155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfZFD-0001kt-D1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 16:42:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfZF7-0001kn-RU for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfZF4-0004gM-PW for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:42:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfZF4-0004gG-LR for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfZF4-0002Zw-5f for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:42: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: Sun, 19 Feb 2017 21:42: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.14875404679849 (code B ref 25360); Sun, 19 Feb 2017 21:42:02 +0000 Original-Received: (at 25360) by debbugs.gnu.org; 19 Feb 2017 21:41:07 +0000 Original-Received: from localhost ([127.0.0.1]:46555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfZEA-0002Yn-Vl for submit@debbugs.gnu.org; Sun, 19 Feb 2017 16:41:07 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk ([185.116.214.213]:45686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfZE9-0002YB-0J for 25360@debbugs.gnu.org; Sun, 19 Feb 2017 16:41:05 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id E9C7AC4E9E for <25360@debbugs.gnu.org>; Sun, 19 Feb 2017 21:40:32 +0000 (GMT) X-Virus-Scanned: by SpamTitan at mycpanelcloud.co.uk Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id 5E83CC4E73 for <25360@debbugs.gnu.org>; Sun, 19 Feb 2017 21:40:31 +0000 (GMT) Original-Received: from cloud103.planethippo.com (cloud103.planethippo.com [31.216.48.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTPS id 4ED77C4E33 for <25360@debbugs.gnu.org>; Sun, 19 Feb 2017 21:40:31 +0000 (GMT) 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=/6QUDUomVDGRjZOe5dIxDiJLKlj9bVA1rZFC0UGU7Os=; b=2hHuSQsEq1MLuc1EndraBD2pN DiBmJi5OJF+vqhPK7T4D6XeaNTSdws1M6+8DKyj/QH9/o1/HCM4F894VAN6lGzrH+5pB2eGcxVkTL lNzOC+GNjMcX0t4vCqInuU/lKb9T2xdEPJfA3C1rA9iAlbFW2L13B65fWP+EzI7GDvUFpJCBsGrHA 1c+Ad+yAcZTroMILYhQpoRHtYFNzl8cM4iZPk4OSCxPqySypa988+DCLs3EnMIJ1QAvr76xtN6ATF dkSTBHejFUmDHjhNh94P9KhYojdwbiru+L88ujNpbOiYNxouKV8/2Rf1V8EuwhEUDSm2nkcKQbd+X S7t0KfWeg==; Original-Received: from cpc6-benw10-2-0-cust167.gate.cable.virginm.net ([92.238.179.168]:37950 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cfZE0-0026Mv-GT; Sun, 19 Feb 2017 21:40:57 +0000 In-Reply-To: (Glenn Morris's message of "Sat, 18 Feb 2017 19:36:04 -0500") 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" Xref: news.gmane.org gmane.emacs.bugs:129555 Archived-At: 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