From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Skipping unexec via a big .elc file Date: Fri, 7 Apr 2017 12:02:55 -0400 Message-ID: References: <8A8DA980-13A7-4F8B-9D07-391728C673C9@raeburn.org> <831su4dmn4.fsf@gnu.org> <87h9300x5n.fsf@linux-m68k.org> <734D2132-71FD-414D-B091-629189742DB4@raeburn.org> <83a8889ede.fsf@gnu.org> <144D5F87-D876-485D-BAB3-2AA93627272A@raeburn.org> <83inmq53xk.fsf@gnu.org> <96D35768-314C-43F5-BD5E-B12187759DCA@raeburn.org> <123104DD-447F-4CDB-B3A0-CED80E3AC8C9@raeburn.org> <20170403165736.GA2851@acm> <2497A2D5-FDB1-47FF-AED3-FD4ABE2FE144@raeburn.org> <83lgrhpalq.fsf@gnu.org> <0D99B4FE-FEEF-4565-87D6-E230A05DEF3C@raeburn.org> <86lgrc4vob.fsf@molnjunk.nocrew.org> <834ly0oew1.fsf@gnu.org> <968E8F50-92F6-43C7-B7E4-EE8378943087@raeburn.org> <83wpawmj4d.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1491581168 15966 195.159.176.226 (7 Apr 2017 16:06:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 16:06:08 +0000 (UTC) Cc: lars@nocrew.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 07 18:06:02 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 1cwWOY-0002QH-Rn for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 18:05:55 +0200 Original-Received: from localhost ([::1]:51731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwWOb-0001We-MS for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 12:05:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwWLn-0008IR-I6 for emacs-devel@gnu.org; Fri, 07 Apr 2017 12:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwWLk-00062x-E0 for emacs-devel@gnu.org; Fri, 07 Apr 2017 12:03:03 -0400 Original-Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:35502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwWLk-00061y-8f for emacs-devel@gnu.org; Fri, 07 Apr 2017 12:03:00 -0400 Original-Received: by mail-qt0-x243.google.com with SMTP id r5so10344970qtb.2 for ; Fri, 07 Apr 2017 09:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raeburn-org.20150623.gappssmtp.com; s=20150623; h=subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uzrPh8ZqoiAH69xha1Yv1TDzxUFkrc+m2LbU49msKNs=; b=xdfTRBahALKB9iR4+1pwVQZmXvxA62uSjXNX6gDXh0kvxBCJnJ1fwaTuXnSFiilEA5 /auAG/Ctb31Q1bHC/bfgMYm6OW3ZRNRyMAoi2tg1E626csm9BxOfxsCzzg/Jebf99beT 7nqVmMM57dliu8ScbGfpNJUqEXrQBW+MSHdyawmZyXDHFRj0Lpj2YVKP2o6y8y2AEYBy b7T5Mgwz9o1ByKwzYNhiyn95nxLqc3tB54AhJVPlY1tzHXdHdaX4z0Q+EqCLW9+ksmf9 AFJ7dpiYq7lB7pXRhNnmQv5kW/jacooEeiMhJBLC8Oz3+XHmxN1rVSudDLjs+wNT6MEe Nrcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uzrPh8ZqoiAH69xha1Yv1TDzxUFkrc+m2LbU49msKNs=; b=G37PYFr/XTcoCVO5ZiUGWq7MqT4dqwUmT4yGNH8c5XG/wVB6D/5aXrgJl0D2BHn9oN B1dIJptx1lEfLLGm7rvjBoRPtUDhscp6pS5chmdezctVdhtqdZlPy1nwtfRHcZGpASe8 AjSg8P0fqVD40dFDwuxhxmvQ9sRv9s6sKeDuKW266vVnJFn6l+oNnwK7GJuMyRYqGf1j PH2kZKl8QomXH2oF+Fq/sHjJzeQhkzSob8F4N+8w/jlHn3vLLhO/j7dQaJjg8Xh4R9Y2 C2udCmougeouhs/BSoRBogzdGea691qGMe64joMdnBGr+aV3Uw8X8dbULXcocZWe4yZA 2Wxg== X-Gm-Message-State: AFeK/H3XxbKw9pcfIAQI1a3hPM5lu9SIIKJA5x4JlvI+jOIZSCk7DcXTuQqaA4FcH97Vug== X-Received: by 10.200.36.93 with SMTP id d29mr46176901qtd.265.1491580979214; Fri, 07 Apr 2017 09:02:59 -0700 (PDT) Original-Received: from [192.168.23.52] (c-50-138-183-136.hsd1.ma.comcast.net. [50.138.183.136]) by smtp.gmail.com with ESMTPSA id 137sm403693qkd.48.2017.04.07.09.02.56 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Apr 2017 09:02:57 -0700 (PDT) In-Reply-To: <83wpawmj4d.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::243 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:213758 Archived-At: On Apr 7, 2017, at 09:40, Eli Zaretskii wrote: >> From: Ken Raeburn >> Date: Fri, 7 Apr 2017 05:02:30 -0400 >> Cc: Lars Brinkhoff , >> emacs-devel@gnu.org >>=20 >>> Perhaps we could have a separate, much smaller dumped.elc for batch >>> invocations, to cater to these use cases. Ken, does this make = sense? >>=20 >> We could do it, sure. For example, stuff relating to window systems = probably isn=E2=80=99t of much use in batch mode. One question is, do = we change such things to use autoload in case the user=E2=80=99s init = file references their functions, or do we require that the user know to = use =E2=80=9Cload=E2=80=9D or =E2=80=9Crequire=E2=80=9D? >=20 > I don't think I understand the question: -batch implies -Q, so the > user's init file is not relevant. Sorry, was too late at night I guess. For batch mode, it=E2=80=99s code = loaded via -l options that might have to add new explicit dependencies, = if we don=E2=80=99t add autoloads for everything. I would expect = autoloads would be the direction we=E2=80=99d want to go=E2=80=A6.=