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: Wed, 11 Jan 2017 01:32:43 -0500 Message-ID: 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> 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 1484116395 922 195.159.176.226 (11 Jan 2017 06:33:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2017 06:33:15 +0000 (UTC) Cc: Andreas Schwab , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 11 07:33:08 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 1cRCSy-0006wu-DK for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2017 07:33:00 +0100 Original-Received: from localhost ([::1]:51695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRCT0-0007ns-Tw for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2017 01:33:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRCSo-0007nm-S7 for emacs-devel@gnu.org; Wed, 11 Jan 2017 01:32:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRCSl-0003Ba-Pg for emacs-devel@gnu.org; Wed, 11 Jan 2017 01:32:50 -0500 Original-Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:36727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRCSl-0003BO-KP for emacs-devel@gnu.org; Wed, 11 Jan 2017 01:32:47 -0500 Original-Received: by mail-qt0-x244.google.com with SMTP id l7so18906947qtd.3 for ; Tue, 10 Jan 2017 22:32:46 -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=xn4MhOinw1KMTP7/90zwo+7HVG0wF5QG4BDH2eVonWI=; b=CtFc0GDY1dP81pKna49PuqTtFsY8jEOQEz3R4DdwFFxJmtGFPRupImySEszOPIJPVd X6suHH3XlI2P2Kv6hCYNOnN76Kv45zfE0vJBtj9hkDaUdzc7TrDL0BWcCMw5WhRekrbQ Z9r0LKLGRHi+K+rNBTikfihu6do4S7QBOWsanyNY1pPjwMD6QMMuRkcEJwZXLdMGA1CK 1mNjK9AQMD02S02CC7+seXL6zAKgUk16lm2NC0pTYXh0ulKMbJspwplUuVkLIhsjGgVa yzKcbYGVR2wf3hr2FnI2n59R1IYQBupYsVSBGXHuXw9HZhpF9/xZBAiiWsFpIxPl4PES fhwg== 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=xn4MhOinw1KMTP7/90zwo+7HVG0wF5QG4BDH2eVonWI=; b=iHOBvRjTIt5+qf6yIBuiyx1RFXUHDT4v5L6wh2MqwmbUnfwUPep9PW7JTZPWixUETg /g0N+HL6bX+yOEY9jpw8K2VLaIjtAy3/0Jih2fYBcZfvdGppg8nN7jWJEbDZ0xGpLcLI 5SmqhyAtAKg3N2wJkbvNXYQOLd+5dE6tRDr411Kemjf7ywGyyJ8+/oxQJPjyTRxkH2wU YcTueEIgq3mQw9nVKxyOyy4Sf8QUAkvS8qEI75bCVhhfuwhGkdc9rIQP69PJLIgDqEyA KA01yyIeGJcWm/fxEWLhlLeF3DWf/Zev/sxP7kaz3WVQYuZ149i+CTXrq8236lMbbpc0 8GUA== X-Gm-Message-State: AIkVDXKN+pZQy+5hSezmgVXE2WAB56tyzBFb23vK5w7rYQwHqgVxV+s0pAKec16tjU2ngw== X-Received: by 10.237.37.165 with SMTP id x34mr6238860qtc.218.1484116366111; Tue, 10 Jan 2017 22:32:46 -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 d67sm3406059qkg.17.2017.01.10.22.32.44 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Jan 2017 22:32:45 -0800 (PST) In-Reply-To: <8360lmesso.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:c0d::244 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:211189 Archived-At: > On Jan 10, 2017, at 12:19, Eli Zaretskii wrote: >=20 >> From: Andreas Schwab >> Date: Tue, 10 Jan 2017 10:46:25 +0100 >> Cc: emacs-devel@gnu.org >>=20 >> On Jan 09 2017, Stefan Monnier wrote: >>=20 >>> Eli wrote: >>>> Multiple args to , are not supported: ((\, (quote = set-window-parameter)) temp (\, (quote set-window-parameter)) end) >>>=20 >>> Hmm... I don't understand this. This message seems to come from >>> backquote.el: >>>=20 >>> ((eq (car s) backquote-unquote-symbol) >>> (if (<=3D level 0) >>> (cond >>> ((> (length s) 2) >>> ;; We could support it with: (cons 2 `(list . ,(cdr s))) >>> ;; But let's not encourage such uses. >>> (error "Multiple args to , are not supported: %S" s)) >>> (t (cons (if (eq (car-safe (nth 1 s)) 'quote) 0 1) >>> (nth 1 s)))) >>> (backquote-delay-process s (1- level)))) >>>=20 >>> but then `s` should have \, in its car, whereas the above message >>> indicates that (car s) is (\, (quote set-window-parameter)) which >>> implies we should not have entered this branch. >>=20 >> That can only mean that something clobbered backquote-unquote-symbol. >=20 > Yes, the value of backquote-unquote-symbol at this point is indeed > this: >=20 > (\, (quote set-window-parameter)) >=20 > I guess something is wrong with reading dumped.elc? At the moment it=E2=80=99s looking to me like it might be a problem with = my #N# patch for writing out symbols. It got a little more of a speedup = reading dumped.elc, but if I drop that change, I get a lot further in = trying to bootstrap the tree with your change. It still fails while = processing the =E2=80=9Cleim=E2=80=9D directory, though. Indeed, looking at dumped.elc, I see: (#35# '#5646# '#218#) where 35 is set-default, 5646 is backquote-unquote-symbol, and 218 is = ,=E2=80=99set-window-parameter thanks to = "#218=3D,=E2=80=99#897=3Dset-window-parameter" being read from = dumped.elc. I suspect 218 was supposed to be just the comma, but the = special printing of comma forms was still applied but is not compatible = with the #N# handling, so comma and related symbols should just be = excluded from that hack. I=E2=80=99ll test that out, but in the meantime, commenting out the = binding in loadup.el of print-symbols-as-references should make things = work again (bootstrapping up until partway through the leim directory). Ken=