From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GJMjMc4jtmXkSwEAe85BDQ:P1 (envelope-from ) for ; Sun, 28 Jan 2024 10:52:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GJMjMc4jtmXkSwEAe85BDQ (envelope-from ) for ; Sun, 28 Jan 2024 10:52:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=fqgXAiQa; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706435534; h=from:from:sender:sender: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=N0AkzNpX+zeet33Cccc0xGH22EyCVbrlYGvh2X+ePw8=; b=acZswhc97UXpatvK92/BlE3NrPMsA+2iD7+GMDqF0klx24dFbTaAWZ3EjCDaLFRbtG9d/m w3zJnCspr6BX4L5ktywTq9jVpk851Pc1ht0fN8ExMUUoctMguL840UxXOOJ07SlzpzKqwb E1WbKZFBgvJkFbDONVQYnpiQKYTaY8zN5ZmKUMNSiH9WbMcscrydTRdDqojRQhSr3kmz9s SdXz2aLGvl2ouVsWO+2hkQ1u/JBB0Xe0BiId+Ml6jHK35RSObVZYXVtiQW3RGznVYhQ8xD FDthLBauOIDuDsStADF3SAwVrfewOcQVAX5y9dG1J4iB1mwf1kbXt0KBx3CgyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=fqgXAiQa; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706435534; a=rsa-sha256; cv=none; b=FpAHJ4xQY2bInRvEz1GAfhVnBr9Yk7ym7UY3a+wsoySraD0JcEcWHU4rXTfCAaM43nRKlz sW8kdc/fbaolbc+BMUKf99HApFeovzakUb9jwq1JPD0lKfZ4rHVyH4LEdiz7gnRicBNx8T F9UOx43r4941Zk/KUwgpQVrJxRehPLodbZCuKL1C1GBqMmadw0D6uDU/qEVqkTumlMsQjD lbiS9+Fa5bHn8Q42BrOf3w8ZVW+bVMtd2xD8vIYksEzKr+Hy9LFGYYpcUgEXxBX6oZfE9R g0fjlREa5zygsf9UgGgjVBi1vXIJ+K2pgqP5blXHBwIXO/fF0/TsGXr97v6Rdg== 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 B058539691 for ; Sun, 28 Jan 2024 10:52:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rU1pU-0005XV-Mj; Sun, 28 Jan 2024 04:51:56 -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 1rU1pT-0005XH-0U for guix-patches@gnu.org; Sun, 28 Jan 2024 04:51:55 -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 1rU1pS-0004ab-Ol for guix-patches@gnu.org; Sun, 28 Jan 2024 04:51:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rU1pa-0003bj-9x for guix-patches@gnu.org; Sun, 28 Jan 2024 04:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Jan 2024 09:52: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: Suhail Cc: cox.katherine.e+guix@gmail.com, 67260@debbugs.gnu.org, andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170643551813840 (code B ref 67260); Sun, 28 Jan 2024 09:52:02 +0000 Received: (at 67260) by debbugs.gnu.org; 28 Jan 2024 09:51:58 +0000 Received: from localhost ([127.0.0.1]:56605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU1pW-0003bA-Bl for submit@debbugs.gnu.org; Sun, 28 Jan 2024 04:51:58 -0500 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:52703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU1pT-0003ar-DM for 67260@debbugs.gnu.org; Sun, 28 Jan 2024 04:51:57 -0500 Received: by mail-ej1-x642.google.com with SMTP id a640c23a62f3a-a349ed467d9so169657866b.1 for <67260@debbugs.gnu.org>; Sun, 28 Jan 2024 01:51:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706435502; x=1707040302; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=N0AkzNpX+zeet33Cccc0xGH22EyCVbrlYGvh2X+ePw8=; b=fqgXAiQaSsM3bOokV1+8Kj49n5uWJNmSbB2BSJw3uVOPcfpaiKxBeMHGGAzsmispil 1ZxfDUmCxvqooz3lgV5HYpCJ8U2TZuMmCQc1MkNzWNcOu/gvVAeE+CrZuU0SAebnzGpr NCz9Yq1bPiDNI027/PxBkt3tfdVhyQFLtwyvVkVS+fMbdK7Q3chn4D7/v4/QoZGatgDA MNELPoX/IWXOjPHqq0Z3JOnluz/anMSYKUD53bYnxkrubbAXZHQuaGWf04/BHeKHaAHP 1W+lLsamDDgv3/OSoctv6Xy8zFDlnYFPPgQwjLc/S6KxaiQSt6JsLK1LdWaT2cc7cODG ZrCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706435502; x=1707040302; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=N0AkzNpX+zeet33Cccc0xGH22EyCVbrlYGvh2X+ePw8=; b=lFwTmOtp82Q3x1Corme1cyMvTuskWY8kC4iYMzO2LNxeuuMIvOUKzRR4FEl/BODE09 8Mc8ZFHbxrFNz2Kw4eOH2Tzkl7pDQChDwBmJ8kRCAM77o3sSfMr2xcYW53cyjAXVAlsK Edx3wFLm02N86V/zNL13VLUPcA1l9nJhAme1sl+x162hgqyHdtm3R9KUpCpu44/YTy76 /ntcC9ATPT+d36pjRP6Ga6zQQgjcWgk0fpxFzDiLwomVFMnzT7dnJsrVR4RV71QUM9lI vtPTUauT2m/sZ3n3ZujFFFad5QAVPy/RqtUH9HQZE2GQ4qecK6y611fAtKYm17GTUwVO 92yA== X-Gm-Message-State: AOJu0Ywb9mYEmk3MfxFjzKi8FxMiWG6jEAJExohHpRMKoBCnpoqAhdMc PxEBWArkxkYc+ToTc79DqeTDcjsEQUy2Of4vSG4/qWzJmN7tFIlE X-Google-Smtp-Source: AGHT+IFZCnn61hnJrmBeQ/VJ6a4aAzJFb8nMNcm44ojDW5QcMcF2QzlgfWSgEYuFFnvSLXGOB7quSw== X-Received: by 2002:a17:906:faca:b0:a2f:e18:fae3 with SMTP id lu10-20020a170906faca00b00a2f0e18fae3mr2099914ejb.41.1706435501429; Sun, 28 Jan 2024 01:51:41 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hw20-20020a170907a0d400b00a3515b35be4sm2111877ejc.104.2024.01.28.01.51.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 01:51:40 -0800 (PST) Message-ID: <96b31b76703e740065654996acd74e44a6be97c1.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 28 Jan 2024 10:51:37 +0100 In-Reply-To: <65b59c2b.5d0a0220.2cacf.b39dSMTPIN_ADDED_BROKEN@mx.google.com> References: <65b59c2b.5d0a0220.2cacf.b39dSMTPIN_ADDED_BROKEN@mx.google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.85 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: 3.85 X-Migadu-Queue-Id: B058539691 X-TUID: gAekw/Cc/tY2 Am Sonntag, dem 28.01.2024 um 00:13 +0000 schrieb Suhail: > Liliana Marie Prikler writes: > [...] > > but =E2=80=98uniquify=E2=80=99 remains byte-compiled for no explainable= reason. >=20 > And too that as of v8 patch, uniquify still isn't natively-compiled. > However, if you unload it and then reload it, it becomes > natively-compiled. >=20 > #+begin_src bash > =C2=A0 emacs --batch --eval "(message \"%s\" (progn (unload-feature > 'uniquify) (require 'uniquify) (take 1 (split-string (substring-no- > properties (describe-function 'uniquify-item-p)) \"\\n\" t))))" > #+end_src >=20 > #+RESULTS: > : Type q in help window to delete it > : (uniquify-item-p is a native-compiled Lisp function in > `uniquify.el'.) >=20 >=20 > I think the issue is because uniquify (along with some others such as > prog-mode, backquote etc that I tested) are preloaded in Emacs.=C2=A0 I > believe that these preloaded packages need to be treated specially.=C2=A0 > In a non-Guix system, these preloaded packages have their .eln files > stored under something like > /29.x-/preloaded/ , whereas in > the v8 series there is no "preloaded" directory.=C2=A0 Instead .eln files > for packages such as uniquify, prog-mode, backquote etc. are in > various locations: >=20 > - uniquify :: /29.2-/uniquify.eln > - prog-mode :: /29.2-/progmodes/prog-mode.eln > - backquote :: /29.2-/emacs-lisp/backquote.eln >=20 > I suspect that the code which does the preloading may need to be > patched and/or the preloaded packages may need to have their .eln > files generated under a preloaded sub-directory (similar to what > happens in non-Guix systems). >From my experiments, the installing of these files is a red herring. I instrumented lread.c to print the relative and absolute file names tried, and it appears that these aren't loaded at all after install while EMACSNATIVELOADPATH is ignored when dumping. Cheers