From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.devel Subject: Re: Lisp files that load cl-lib in problematical ways Date: Wed, 25 Oct 2023 13:19:55 -0500 Message-ID: References: <4684f43123d7dee59461@heytings.org> <835y2xo1a5.fsf@gnu.org> <4684f4312391906f6101@heytings.org> <831qdlo084.fsf@gnu.org> <83msw8n43r.fsf@gnu.org> <87y1fs75mx.fsf@localhost> <837cncmewi.fsf@gnu.org> <87fs209ora.fsf@localhost> <83pm14kwz0.fsf@gnu.org> <87cyx49nt2.fsf@localhost> <83msw8kw2f.fsf@gnu.org> <87a5s89mcy.fsf@localhost> <83jzrcku1t.fsf@gnu.org> <87cyx3kdr1.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004104df06088e81f2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andrea Corallo , Eli Zaretskii , stefankangas@gmail.com, gregory@heytings.org, rms@gnu.org, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 25 20:21:18 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qviVK-0008K3-Fp for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Oct 2023 20:21:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qviUU-0004sF-Mf; Wed, 25 Oct 2023 14:20:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qviUH-0004Ur-O5 for emacs-devel@gnu.org; Wed, 25 Oct 2023 14:20:15 -0400 Original-Received: from mail-ot1-f41.google.com ([209.85.210.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qviUF-0004TC-Sb; Wed, 25 Oct 2023 14:20:13 -0400 Original-Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-6ce2c5b2154so9029a34.3; Wed, 25 Oct 2023 11:20:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698258007; x=1698862807; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Oz8XKh6FWfovGNdji2RhsISCRndbDkEGFwxMHCdG3XE=; b=YpvBTbR0YG7qG4U/Ohyul2mp4QvyIOvE3jrTOEDoRx9GjD+y3K2tKEbIiQU6lW0vZM d4HApdwEHLyiW7c3XBfucErPVYellqpBN9KLCVbPhRWOgiuHJZJnqPg1AV4EgAFzsgah Oxr8GU/Etiyty3kK+hs9xB7LMzF2kXNpO76yTxFF4O7UtTj1h8x0Omb+grIVpoSkLsW6 74OzwSwM3YDsTzjL+aBnB08Hb+DbewP6JLa0OWwjY+Rqh2yNCYGJ8ufHlVrcX8rtucnj lVoclrVn7zmY3z8ioKnfAfwa3v0p3apD+G0Xnp0slxOG5g/Q8UGaTUFAB6watJ+xQoJk kooQ== X-Gm-Message-State: AOJu0YxryrP1Kz7qrdfYfSYtKk36VfHBTlTknuGnkOgHGGgQ5N27DdYM c9OD7AX6PnTuGJVGK1r3eWs0GQlNBGKLCSadJfk= X-Google-Smtp-Source: AGHT+IEHgtriEEXpvtCpOQY9g8Ttvv5ZUyFNuOJstak4THxQARQC+7G9OemAF6r+ilvAig7yxuHip2QK2l2nzm2KiCM= X-Received: by 2002:a05:6830:4386:b0:6b9:cba6:b246 with SMTP id s6-20020a056830438600b006b9cba6b246mr23587279otv.9.1698258007162; Wed, 25 Oct 2023 11:20:07 -0700 (PDT) In-Reply-To: <87cyx3kdr1.fsf@localhost> Received-SPF: pass client-ip=209.85.210.41; envelope-from=mplscorwin@gmail.com; helo=mail-ot1-f41.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311855 Archived-At: --0000000000004104df06088e81f2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 24, 2023 at 2:43=E2=80=AFPM Ihor Radchenko wrote: > Andrea Corallo writes: > > >> I think it should be rather easy tho, I'll try to investigate a bit. > > > > Okay with f7d88f4a047 on master I'm now able to re-dump a native > > compiled Emacs! I followed essentially what Ihor attemped so I loaded > > cl-lib before re-dumping as well. > > I confirm. > It worked for me also, trying from a MSYS2/MINGW64 shell, on Windows. $ bin/emacs --batch -Q -eval '(let ((custom-theme-load-path (list "/.emacs.d/elpa/cyberpunk-2019-theme-20191008.1133/"))) (require '"'"'erc) (load-theme '"'"'cyberpunk-2019 t) (enable-theme '"'"'cyberpunk-2019) (dump-emacs-portable "erc.pdmp"))' After which this works: $ bin/runemacs.exe --dump-file erc.pdmp -fs -l I've been connected for around 13 hours, so far, so I think it's working :) Thank you Andrea. --0000000000004104df06088e81f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Oct 24, 2023 at 2:43=E2=80=AFPM Ihor Radchenko <yantar92@posteo.net> wrote:
Andrea Corallo <acorallo@gnu.org> writes:

>> I think it should be rather easy tho, I'll try to investigate = a bit.
>
> Okay with f7d88f4a047 on master I'm now able to re-dump a native > compiled Emacs!=C2=A0 I followed essentially what Ihor attemped so I l= oaded
> cl-lib before re-dumping as well.

I confirm.

It worked for me also, tryin= g from a MSYS2/MINGW64 shell, on Windows.=C2=A0=C2=A0

<= div>$ bin/emacs --batch -Q -eval '(let ((custom-theme-load-path (list &= quot;<path>/.emacs.d/elpa/cyberpunk-2019-theme-20191008.1133/"))= ) (require '"'"'erc) (load-theme '"'&quo= t;'cyberpunk-2019 t) (enable-theme '"'"'cyberpunk= -2019) (dump-emacs-portable "erc.pdmp"))'

After which = this works:

$ bin/runemacs.exe --dump-file erc.pdmp -fs -= l <my-erc-setup>

I've been connected for= around 13 hours, so far, so I think it's working :)

Thank you A= ndrea.
--0000000000004104df06088e81f2--