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: Mon, 6 Mar 2017 03:46:17 -0500 Message-ID: <8A8DA980-13A7-4F8B-9D07-391728C673C9@raeburn.org> References: <8360ojpndr.fsf@gnu.org> <83shrnm0k1.fsf@gnu.org> <075B0922-F07A-4FBA-AE71-027E964A5ED4@raeburn.org> <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> <831swxzbw8.fsf@gnu.org> <83y3z2wphb.fsf@gnu.org> <83tw9bb42m.fsf@gnu.org> <349ED8B9-C34B-495B-9FB5-E72CE6EFCA38@raeburn.org> <87inpni6xa.fsf@linux-m68k.org> <8360lmesso.fsf@gnu.org> <3B044D64-7C94-42D7-BE1B-7A9CA76C5A67@raeburn.org> <83k29xc49v.fsf@gnu.org> <2C5C5C6E-9D73-4613-948B-C15B93968717@raeburn.org> <83poiy8cnv.fsf@gnu.org> <83r32mqq5f.fsf@gnu.org> <83zih1jf37.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 1488790027 9420 195.159.176.226 (6 Mar 2017 08:47:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Mar 2017 08:47:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 06 09:47: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 1ckoID-0001SJ-FI for ged-emacs-devel@m.gmane.org; Mon, 06 Mar 2017 09:46:57 +0100 Original-Received: from localhost ([::1]:42437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckoIJ-0004Pa-GR for ged-emacs-devel@m.gmane.org; Mon, 06 Mar 2017 03:47:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckoHj-0004PP-QT for emacs-devel@gnu.org; Mon, 06 Mar 2017 03:46:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckoHf-0002E8-8w for emacs-devel@gnu.org; Mon, 06 Mar 2017 03:46:27 -0500 Original-Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:36262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckoHf-0002Ds-53 for emacs-devel@gnu.org; Mon, 06 Mar 2017 03:46:23 -0500 Original-Received: by mail-qk0-x242.google.com with SMTP id n141so18626226qke.3 for ; Mon, 06 Mar 2017 00:46:21 -0800 (PST) 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=oozHwYPr3hU40d2JyZQ0DQgcCJkM9a9fv9UVGz/NgYY=; b=y3+8gd+1//eGM4k0T10ADIdQ9SZ4OgqfPtlxZA0jdOk97+PfV2TAA/qa1W9legzU/t FCTEUZ7x0TitIrx36hJZ8SKeWwnObXLfKqU8TS0R2UQaU/qXMvB4/1lc5TT/+pZmafdq 0J0RnVe2bvdRcokw5vQbYhDy2UY8/mWLG4P4v9v+LHVktKD0KlqcYbpQcd8l0AYbC3I1 ArK2YnhGrnQjkVGocwBuyqMhmkpDvY/136a4T5lOifSOFrkyR4TLpgECGcv1S8w2vz/t TZiBmq5vwrP3P2jkkBMrS/0CcSB5115txZm3J1VoW19QLsn/C4lf+t+ylZbtkxnP76st 5JxA== 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=oozHwYPr3hU40d2JyZQ0DQgcCJkM9a9fv9UVGz/NgYY=; b=sEChNIC4YAdhbPzXDM9OnyUVhie6+u4HjB40vLwNwt/lVGfA8W+YR0PerMlSWNSkGx fKVgiJo9SfOm/cB/hvwX5kUE9Qt69HRpC5wPOLiDQhPleKe47p7Dq/vAgYQWA3IZhNvk 04IeBKyroLgKvQJUHJHc09aeOKcKNiFUO06QQeB+gekEmnhkLm3R5zLx52qzwIDMU3Nu ILHmFSp1vxZWI+EfaYotNwldNiQfAVnUSt3NNVjZ1GtupsG4j1NyUtJAwy5IGV79/nnr zR99ELghp05pFkknwB6nBJQj6pUoXT8ZNCc/rOp3t1WzLlmtTyUPYmyd4S4Extjqy28k uMRw== X-Gm-Message-State: AMke39nKjVFNoEof78uHuHr63WeKQzSWl7/XydyFL/mV9gzE3SoOTu1lKExhDOXgj6vogg== X-Received: by 10.55.97.6 with SMTP id v6mr15348809qkb.80.1488789980474; Mon, 06 Mar 2017 00:46:20 -0800 (PST) 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 a70sm12997174qkc.1.2017.03.06.00.46.19 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Mar 2017 00:46:19 -0800 (PST) In-Reply-To: <83zih1jf37.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::242 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:212793 Archived-At: On Mar 4, 2017, at 09:23, Eli Zaretskii wrote: >>> Also, it looks like the logic in startup.el that should bypass = certain >>> stuff under -Q isn't working, because I see my abbrevs being loaded >>> even though I invoked "emacs -Q". Thoughts? >>=20 >> Strange=E2=80=A6 this is also working for me. At least, settings = from my .emacs aren=E2=80=99t being applied, when I use =E2=80=9Cemacs = -Q=E2=80=9D. >=20 > This problem is still there. It has nothing to do with loading > ~/.emacs, though: startup.el always loads your ~/.emacs.d/abbrev_defs, > if that file exists. I'm not sure why it loads that file, but I > verified that the master version does that as well. Odd, seems like -Q should skip that, with the rest of the user=E2=80=99s = initializations. >=20 > So the issue here is not that the file is loaded, but how it is > processed. I only noticed this because my abbrev_defs file uses a > function that is only defined in my .emacs. So "emacs -Q" on the > raeburn-startup branch barfs because that function is not known. > Strangely, "emacs -Q" on the master branch doesn't signal an error, > and I don't even see Fsignal called if I set a breakpoint there. I > don't (yet) understand why the different behavior. >=20 > If you insert into your abbrev_defs file something that references a > function which is not defined, do you see the same problem as I do? I added a line: (missing-function) in between some define-abbrev-table invocations, and =E2=80=9Cemacs = -Q=E2=80=9D on master (2-3 weeks old) and raeburn-startup both complain = about it for me. > Btw, one thing that I saw while debugging is that purify-flag is set > to t while running the startup code. This is because init_alloc_once > is called during startup (previously, it was only called by temacs). > I don't know if this is related to the issue (setting purify-flag to > nil in Frecursive_edit didn't help), but I thought I'd bring it up, > because maybe we need to set it to nil earlier. I=E2=80=99ve been thinking that the branch should probably set = CANNOT_DUMP unconditionally. The behavior around pure storage and such = under CANNOT_DUMP is probably closer to what we want for the branch. = But there=E2=80=99s at least one bug in building with CANNOT_DUMP for = macOS I=E2=80=99ve got to clear up first. As you say, it may not be at = all related to the problem you=E2=80=99re running into, though. Ken=