From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YGbyBeBV0WWT7wAAe85BDQ:P1 (envelope-from ) for ; Sun, 18 Feb 2024 01:57:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YGbyBeBV0WWT7wAAe85BDQ (envelope-from ) for ; Sun, 18 Feb 2024 01:57:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=kS5lpWQc; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708217824; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9bDCoNPxUAo0CFw1IXx7Lcluxet2VyEsMjZxkPG/kto=; b=lfueb+H4shUZH3ym834JYcbT1b+hrhuDnyLt8MpOOASLZqsyXH5zk5fzFCAkvNYfX4auiE 31JpbAKgRgpu/kFRqbq+/yYHerxKNN5zxlclM8Tmp8WWGunloVzBZfjYRvPHh+1bOI5u6i Ee/J77NihNhwgwJdsH26hqFvlv/Bn4GJf5KimJOWH/MguDjKrGqAKpLxRH3H4+ZsdTAmDQ 4azVXdqhFnxFHN7CDD1KD9tKFL0VQrpCj3DgI0/PNtHHAwnPOsRyX8HOwNkTMNgO3iaONA vdxQQGC6eKdknfHGUlf+a/ndAGZ4pMT5sHt8W5tdzUmFeF/0kSw0ywYtDFbstQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=kS5lpWQc; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708217824; a=rsa-sha256; cv=none; b=ZoZ9yFgaBvWo/cIjKvMQQeZlMUz9YhEypaP76cWMPgKdn5oOKfIz2vr4Eqhzhnf0uONiVi ocLxeVytEFhabD3uYnyrjtYkB/wbg4rNBkxR/7/03jpn8Sp8SckMcxx7oyx7sxV2LS1D9z E5MkKwD4yG57vB4RDlk5mCK+zdVDM9twcwSLWygc8YxL22zWYeal5MPwysBHEEva7UfNHm 1Qggxln31Q4Ivz6S04v4EJSnPYT1m8ev2tt4vE4LXmIpYi5DLrchdDZKGqthfGokWdmms2 eexSlN4P9xbVuYD6aLyurqAJpgoeHy35kOnEB/CrL2QdUS3FsNebFv9QNI5N6Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 97A32128DC for ; Sun, 18 Feb 2024 01:57:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbVU9-00075R-4m; Sat, 17 Feb 2024 19:56:49 -0500 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 1rbVU2-000759-Eg for guix-patches@gnu.org; Sat, 17 Feb 2024 19:56:43 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbVU2-0006oz-61 for guix-patches@gnu.org; Sat, 17 Feb 2024 19:56:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbVUM-0001Hd-4S for guix-patches@gnu.org; Sat, 17 Feb 2024 19:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things Resent-From: Suhail Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 00:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: cox.katherine.e+guix@gmail.com, 67260@debbugs.gnu.org, Suhail , andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.17082178084891 (code B ref 67260); Sun, 18 Feb 2024 00:57:02 +0000 Received: (at 67260) by debbugs.gnu.org; 18 Feb 2024 00:56:48 +0000 Received: from localhost ([127.0.0.1]:34015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbVU8-0001Go-0x for submit@debbugs.gnu.org; Sat, 17 Feb 2024 19:56:48 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]:32077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbVU5-0001GW-37 for 67260@debbugs.gnu.org; Sat, 17 Feb 2024 19:56:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayesians.ca; s=protonmail2; t=1708217777; x=1708476977; bh=9bDCoNPxUAo0CFw1IXx7Lcluxet2VyEsMjZxkPG/kto=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=kS5lpWQceAK683McnQNNpGyxYiOCSdURSR9OS0XqAUDHbIY96RgP+cYIDIOkk9Zof y63mAq2UcKWFOaRl02ZUPbdtOpPmcASp22S/3zWOOJkQScD+X/+beaOY0ivkx0lnwn apGpnVI+wz8RISEl9j0F0S1hYwmRg5BwvGYS93fp59fn+PXOBmClenJqnbSjp6KZZr j/fKBLVyfwQma4uwvJAXTVCAgqV8fbL+gcsKggOmWbklmw+rgz5K3Qj1ySLlRtctwG jJct3yqjyOLXoekGk+bZg/DuOGEfhTJ3N2HlfiCMmfUSmthDtv3CoqmU73lr1weZmv logZXbK+yP7tw== Date: Sun, 18 Feb 2024 00:56:09 +0000 Message-ID: <87il2megkb.fsf@gmail.com> In-Reply-To: References: <875xyndu36.fsf@bayesians.ca> Feedback-ID: 38691229:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Suhail X-ACL-Warn: , Suhail via Guix-patches From: Suhail via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.48 X-Spam-Score: -4.48 X-Migadu-Queue-Id: 97A32128DC X-TUID: eqHjAQvkz5OD "Liliana Marie Prikler" writes: > I don't think our choice of putting Emacs itself last is wrong here. I'm not sure I understand. Just to be clear (please ignore in case this was already clear), in non-Guix Emacs the situation is as follows: 1. The directory where 'mule-util and 'ucs-normalize are located ("/usr/share/emacs/29.2/lisp/international") occurs in the load-path. And this entry occurs in the load-path AFTER "/usr/share/emacs/29.2/lisp". 2. The directory where 'term/internal is located ("/usr/share/emacs/29.2/lisp/international") does NOT occur in the load-path (and thus trivially doesn't occur before the "share/emacs/29.2/lisp" entry). After installing the v10 patch series, both 1 and 2 hold in Guix Emacs as well. However, Guix Emacs's behaviour when locating/loading natively-compiled versions of the above three features differs from the behaviour in non-Guix Emacs. Specifically, 1 and 2 above seem to pose a problem for only Guix Emacs and after remedying 1 and 2 above, as in the test script, the tests pass. All this to say, if by "putting Emacs itself last" you meant the change I made to the test script to make the tests pass, then while it may not be wrong, it also isn't correct either (seeing how it's not needed in non-Guix Emacs). My goal in sharing the patch was not to suggest a fix, but rather to possibly highlight something correlated with the cause of the problem we're observing. > Can you do some more research as to how this confusion comes to be? Since I have less familiarity with the internals of how Emacs locates natively-compiled features and loads them, I'm not sure where to begin. Do you have some concrete suggestions? What (I believe) we know: - Not all the .eln entries in the "preloaded" native-comp-eln-load-path directory in Emacs are actually loaded by default. This doesn't directly concern the issue, but it's to clarify that my use of the term "preloaded" in this thread is regarding the former and not the latter. - The issue of whether-natively-compiled-variants-are-loaded-or-not-depends-on-order-in-= load-path doesn't seem to affect packages that aren't built-in. Specifically, if the load-entry for a not-built-in package is put after the "share/emacs/29.2/lisp" entry, Guix Emacs is still able to load the natively-compiled variant. - It is unclear why other packages such 'log-edit, 'find-func etc. (built-in, but not loaded by default, having their load-entry after the "share/emacs/29.2/lisp" entry) aren't affected. --=20 Suhail This email is not an offer capable of acceptance, does not evidence an intention to enter into an agreement, has no operative effect until a definitive agreement is signed in writing by both parties, and that no party should act in reliance on the email or any representations of the sender until a definitive agreement is signed in writing by both parties.