From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: calc.el Date: Mon, 17 Jun 2019 00:00:44 +0200 Message-ID: References: <831rzvvsgp.fsf@gnu.org> <83y322vqvg.fsf@gnu.org> <83v9x6vpap.fsf@gnu.org> <52332265-2d02-a01c-e221-20b00b1edf86@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26651"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 00:01:01 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcdCv-0006q3-Ba for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 00:01:01 +0200 Original-Received: from localhost ([::1]:43146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcdCu-00053l-5V for ged-emacs-devel@m.gmane.org; Sun, 16 Jun 2019 18:01:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45996) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcdCo-00053T-3F for emacs-devel@gnu.org; Sun, 16 Jun 2019 18:00:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcdCm-00082X-TK for emacs-devel@gnu.org; Sun, 16 Jun 2019 18:00:54 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:56442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcdCm-00081A-Mg for emacs-devel@gnu.org; Sun, 16 Jun 2019 18:00:52 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcdCf-0006dY-1u; Mon, 17 Jun 2019 00:00:47 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUIAwcLBQsPBgsOCA3o 4uZHOzSdko8PBw0FAQYcFRIy+KLmAAACSElEQVQ4jWXTsW7bMBAG4FO8OJsYIkO2OEYHb2WItNXO 6AUUCuAuCvBYeCiyqciiMbZAA3zb/kdKiYMeDNjmJ/4kjxC9hd67GFvjI1eLP6F3caIREDe7F+N/ jeO4av2RAGWRwD1WnfHvCeoTAwHOfe8enzrz/L4eh9VLfSqC4RlD2/VOL3D9UjdXwewBf1tTOx2M qU/rga470xRns1eC3j6BKEH5CfvpDGgAu87sb87GK0nXAM9gmjxj/3g2zww9IDI4wLcvgEO3gD0N DH6G2wsgemJA+FHS0wf47wmeT4ApQ+8SKKLQYdsMd2gMwCZ4p4JhAjQVoANAkUFXDM0CZoZ6KiUf 1P0HzebqAnis9wncZnsB7QU8zNDVLkPdMxh/2mJ3tV0Au0rlJxwQ1wbwDF2Kwri7JypiC+hdht56 mycQbUOwIerIu+qNtyiniYTYBmejVpUmvtU+WhuPohRCFKEJVmilaVy5qG69FWIl5pJCaACCix++ KREklUqCqYBxIGrtUc2Pl4IfYVjzlLwAh6BILlE0P63l8oNhWK+LopxXnQPlsvickcZVmpBgwISU ptXyPMMJ79EuvU0HrS7XiB+1VVLpHMTwcF88bH7fvWox/akOP3X1qg8JgnXBWjQVFdFalxoKuIt4 aWPYuZzn0jeDKDfiJm9G4aN4AZmjUiGBh7iRKu+qmmKc9DTvH2NKygwxVhqUBjmOT5/PgV1FzsK9 5WZJ+dHdMv1NPVH56Evb+dLSGvPNzlAsHcISKrcXg1RmUHqu1N1/5SAtZkAfImYAAAAASUVORK5C YII= In-Reply-To: (Stefan Monnier's message of "Sun, 16 Jun 2019 17:51:53 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:237751 Archived-At: Stefan Monnier writes: > Of course, to make things more interesting, this is only half-true: if > the lexical-binding of the two files is different, then even if the > function is not yet compiled, we don't inline its source code, instead > we first compile it and then inline its bytecode (to avoid having to > compile code that's a mix of lexical-binding and dynamic-binding). Hm... So that made me wonder what would happen if calc-macs was lexical: [larsi@stories ~/src/emacs/trunk/lisp]$ rm calc/calc-macs.elc calc/calc.elc; make [...] make[1]: Entering directory '/home/larsi/src/emacs/trunk/lisp' ELC calc/calc.elc ELC calc/calc-macs.elc make[1]: Leaving directory '/home/larsi/src/emacs/trunk/lisp' Well, that was easy? :-) calc-tests passes, too... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no