From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] scratch/raeburn-startup a4231c3 4/5: Don't dump artifacts of the dump process. Date: Mon, 17 Apr 2017 08:26:01 -0400 Message-ID: References: <20170410155910.29409.32595@vcs0.savannah.gnu.org> <20170410155913.053F720447@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1492432011 8860 195.159.176.226 (17 Apr 2017 12:26:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Apr 2017 12:26:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 17 14:26:47 2017 Return-path: Envelope-to: ged-emacs-devel@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 1d05jy-0002CW-5l for ged-emacs-devel@m.gmane.org; Mon, 17 Apr 2017 14:26:46 +0200 Original-Received: from localhost ([::1]:36414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d05k4-0006x9-2k for ged-emacs-devel@m.gmane.org; Mon, 17 Apr 2017 08:26:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d05jT-0006x2-5K for emacs-devel@gnu.org; Mon, 17 Apr 2017 08:26:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d05jP-0006bc-46 for emacs-devel@gnu.org; Mon, 17 Apr 2017 08:26:15 -0400 Original-Received: from [195.159.176.226] (port=55952 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d05jO-0006aR-UD for emacs-devel@gnu.org; Mon, 17 Apr 2017 08:26:11 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d05jE-0001GJ-NS for emacs-devel@gnu.org; Mon, 17 Apr 2017 14:26:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:6sG0+lVCMlSt1gog+JTqRh8cQu8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214054 Archived-At: > This is probably going to make my brain hurt, but… how does that work? I can't remember exactly. Actually, I think it is supposed to work correctly, thanks to some C code in lread.c (see lisp_file_lexically_bound_p), but apparently it doesn't work here. Not sure why. > going to dump. Or is it something that needs to be in effect when we start > loading the file? Yes. > Maybe something we can explicitly enable after loading > the necessary Lisp bits? We could, but it's delicate. > If we can’t use lexical binding in loadup.el, > maybe we should change the file header to not appear as though we’re > enabling it. Indeed, tho hopefully we can make it work. Stefan