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: Skipping unexec via a big .elc file Date: Sat, 17 Dec 2016 09:56:03 -0500 Message-ID: References: <54AAC13A-CF56-4393-A932-DC6CBBF51259@raeburn.org> <3CC6BB36-1794-4202-8243-132E0345B236@raeburn.org> <52BDCC33-546C-4F47-A230-00EBC813B038@raeburn.org> <15CF14CC-C7DE-44BA-AC7D-F0BF1F160979@raeburn.org> <9463F91F-DB82-48E1-BE01-1E2BC8DA0766@raeburn.org> <5b39d866-16ea-8cf1-f25e-6bfc3304ac2a@cornell.edu> <16B1EC9C-9BF7-432E-BE42-154740B04679@raeburn.org> <00AE6236-2C0B-4E2A-8A53-16A5C42D41A9@raeburn.org> <75C18644-F7C8-4164-BA46-CD73F4E39A93@raeburn.org> <83y3zh7ylv.fsf@gnu.org> <2a14736a-f26d-5d6e-d58e-cfa8870d456e@gmail.com> <83vauk8g1s.fsf@gnu.org> <838trg7xb4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481986586 27145 195.159.176.226 (17 Dec 2016 14:56:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2016 14:56:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 17 15:56:23 2016 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 1cIGPN-0006KA-Vu for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2016 15:56:22 +0100 Original-Received: from localhost ([::1]:36952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIGPS-0007Nb-8F for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2016 09:56:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIGPL-0007Ff-IB for emacs-devel@gnu.org; Sat, 17 Dec 2016 09:56:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIGPI-0003rn-HH for emacs-devel@gnu.org; Sat, 17 Dec 2016 09:56:19 -0500 Original-Received: from [195.159.176.226] (port=51430 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIGPI-0003rX-Ap for emacs-devel@gnu.org; Sat, 17 Dec 2016 09:56:16 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cIGP6-0003rA-4i for emacs-devel@gnu.org; Sat, 17 Dec 2016 15:56:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:G2+AQGUuBsjPDX4WavEHIEm3Ov4= 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:210584 Archived-At: >> Also, does autoloading work for macros? > It doesn't, but why would macros be a problem? Huh? Autoloading works fine for macros. Or maybe I'm misundertanding Clement's question. The problem of autoloading is with variables, coding systems, faces, ... This said, I don't see any strong reason why we couldn't arrange to autoload coding systems. Maybe we should instrument the Emacs code to mark functions that are called during a normal "start Emacs opening a file in fundamental mode". Then we can look at the preloaded functions¯os which haven't been used. This should give us a good idea of how much there is to gain on this front. Stefan