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: Byte compilation without writing the .elc file Date: Sun, 23 Jun 2019 15:38:04 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="154278"; 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: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 23 15:38:40 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 1hf2hc-000e2l-4D for ged-emacs-devel@m.gmane.org; Sun, 23 Jun 2019 15:38:40 +0200 Original-Received: from localhost ([::1]:44854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf2hb-00008O-4J for ged-emacs-devel@m.gmane.org; Sun, 23 Jun 2019 09:38:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55530) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf2h8-00006t-RC for emacs-devel@gnu.org; Sun, 23 Jun 2019 09:38:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hf2h7-00020V-PY for emacs-devel@gnu.org; Sun, 23 Jun 2019 09:38:10 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:49548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hf2h7-0001xI-IS for emacs-devel@gnu.org; Sun, 23 Jun 2019 09:38:09 -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 1hf2h2-0006XI-UM; Sun, 23 Jun 2019 15:38:07 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAKlBMVEVpmJU/Uj0dMhidxawM HAosPyYGEAROZlDD7dZ/raZdgHQEBwIDBQETJhC0/MaQAAACLklEQVQ4jVWSMavbMBSFtbqbC+Ht oh49aXnp+FC9ZUiou3ULWtwOeVAEDzplyRjI5C3Q4RGPj+JF/gf2FNIuRf+l514pjnPBxtxP55wr yaIsy2Wa2pfmKGI1TWM3qWDwMAXiHcgECDEhdkMATvaFBEm9F8me3F4JUISFU53UofYiKLjfiGu7 rkUAlNA0x1t/HzPirHfgFSANsyb1Qan5TWEZULJ63O12iuCe9yjCHpID9am2itMBUu6r3VjkKAjY 5rY+iuYQ0VB3AhZBQ+B457RTj9tahfBETY24BB/ISU1D1DxhQJLDlGDiQwCYWk3jFVLEMqbfCH9u +aLgdVJXsy0vUWL8F8Iwapwq3jlyTupWHxshZTai5hd38fHeCumpZLYEgiPVz/J5vSCw8P4CtMry c7m0dvOlWhgtZO6Dxl+0Low+l6t/7q2AQsocj8QQmdfaGFN1rl1rAtzF0OmMoXG9QUYmeS78LHSc P8oPxg2t0WSlz1BkRGiwdFa51iy88B6JT/n3T8s/8Jo92E3RGqMBLtpUv78Nb3L99XNRPeV/h74l kFMaQOv6zg3D4PAyV1C5anBd71wHAGjWI+g7WtwPXP0VFBXW0uoIHLbhcVY4CBBnYDawVQtwBrgU xnAC5YL1EeSYl1IC4D42ToC8QIYg6JyJACExhQQQGhqKwYVPG6DvEdUykGJ1BRWhzrFTBOF+WOOC YHEmkHMIaUKfBAzIi0EsCLxkMEpCQQDwH6m69FWEZ8BQAAAAAElFTkSuQmCC In-Reply-To: (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Sun, 23 Jun 2019 09:14:22 -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:238062 Archived-At: Cl=C3=A9ment Pit-Claudel writes: > I think you could even make byte-compile-buffer return a other buffer > with the ELC contents, and then byte-compile-file could be trivially > implemented in terms of that. Yeah, I think that makes sense. `byte-compile-file' currently sets up a whole lot of stuff and then calls `byte-compile-from-buffer'. The modification would be to move all the setup code to the new `byte-compile-buffer' function, and then call that, I think... --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no