From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cPqyHoZ+tmV+sgAAqHPOHw:P1 (envelope-from ) for ; Sun, 28 Jan 2024 17:19:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cPqyHoZ+tmV+sgAAqHPOHw (envelope-from ) for ; Sun, 28 Jan 2024 17:19:18 +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=VKA7U93q; 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=1706458758; 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=aYj1zECbRZiWi6lLuSQaQ7ELhViqRhbLQ0IIgw2Mp00=; b=fdU/xrJLBf9QMC7W7oQRl8PLbjHBIP1/1KccFHgBhbY+D/vYMhuyZ0uLRCR2wewNuS39sQ rwBxIZbzJ7SghkygKReNqJ4kKKDAfS2RuOjHR7Tj48wXEBC5q4FPdlTPab/3MJfNvZkFMG cHU82xX3O0cQrT27PufKkSZa1nTo73+4pDErq1hSthDKWJ0DHSNsEKRtubOVYOE27/uHhm 1JN6PmXIkDfWlMIA2yARjInbB0x1CvUpaioVTbugItLtjN1lQ3F6vUhzRUk3yZZGVc5XiP 8WtQjPlsp+YXsg6Ye69sL5JG1J4vsiP3jqrdQpjOVQO3pJ+luno/rSx88fVqSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=VKA7U93q; 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=1706458758; a=rsa-sha256; cv=none; b=gk1xnaI1N9S+Xijptph8JK6QzO3hkAlxLsq5ql7c/PF6tSrlSWXZwL0T/aIvc2GCl1TNEl D8+2d7K9QzVbCC/BGv67sOGwUj4khy7deuLcgtfo6gIyp9De8kYNwH7Cud+gK/UD2+4/JO 6qOc6tnni3KX63vYHXNeUmh3Fbi9g+9LN4iKkVseUtOGor6Eo+STfBhETtt70/BJVvdz6P /gnS3PgYlnyPRSz2gJ+QyOqJC5KYX6D76Ua5Rou4nnOlsox8Ji5yTlGWvIluD64//ZL0/O raCp67jzQuDTIy0t1D3ymlMg6gtBW05LRfq7DX/41UMQFvcLJq4eH4G0cKxKbA== 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 B8A0246235 for ; Sun, 28 Jan 2024 17:19:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rU7s0-0001jh-RJ; Sun, 28 Jan 2024 11:18: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 1rU7ry-0001jF-W5 for guix-patches@gnu.org; Sun, 28 Jan 2024 11:18: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 1rU7ry-0001BA-L7 for guix-patches@gnu.org; Sun, 28 Jan 2024 11:18:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rU7s6-0001SI-59 for guix-patches@gnu.org; Sun, 28 Jan 2024 11:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH. References: In-Reply-To: Resent-From: Suhail Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Jan 2024 16:19: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, andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.17064586925500 (code B ref 67260); Sun, 28 Jan 2024 16:19:02 +0000 Received: (at 67260) by debbugs.gnu.org; 28 Jan 2024 16:18:12 +0000 Received: from localhost ([127.0.0.1]:58234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU7rH-0001Qe-UU for submit@debbugs.gnu.org; Sun, 28 Jan 2024 11:18:12 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:58959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU7rE-0001QA-Uk for 67260@debbugs.gnu.org; Sun, 28 Jan 2024 11:18:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayesians.ca; s=protonmail2; t=1706458673; x=1706717873; bh=aYj1zECbRZiWi6lLuSQaQ7ELhViqRhbLQ0IIgw2Mp00=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=VKA7U93qGSRnH+hjVqZI+SUDG9Z2ucutLN1NdqgpWQ0syjs9VaDmd5Bnmuoy9gt8d Rh9DIsQTUnfEpjTsDjzDrsVC9o4a1uaF8Wq3ysT4a4vn2XrqqxXzkoLkHYkQ5C6vxV CubfjInAviF3y5FnN750Lop4d0QbKT+VPJxOpDl03n2XEiyuEfUz4RmcXo+9ffln6i wr3Te9+Pn0Ccvp1jWJ6PF8v8A9DMRTF2bqEucrcUyzD8z30EIegecgew6fNYSS574k pSDTmUzi7n/hAiXzMPuP7j+klZOfv6WuKqHd3UEuJirVrPXKhba7KA/uD2T6B+WoxE LspqI7R3c4oiw== Date: Sun, 28 Jan 2024 16:17:47 +0000 Message-ID: <87il3dph3s.fsf@> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.45 X-Migadu-Queue-Id: B8A0246235 X-Spam-Score: -3.45 X-Migadu-Scanner: mx11.migadu.com X-TUID: 3HAd2MMo+Zo7 I'm assuming you're able to reproduce the issue on your end as well with other features like prog-mode, backquote etc. Liliana Marie Prikler writes: > 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. Interesting. I did a grep of the Emacs source (branch emacs-29) and line 1770 of src/lread.c (in maybe_swap_for_eln) seemed relevant: > /* Look also in preloaded subfolder of the last entry in > `comp-eln-load-path'. */ What surprised me was that not only was the "preloaded" directory special-cased, but so too was the last entry of "comp-eln-load-path" (which I imagine is referring to native-comp-eln-load-path). Judging by your message, I'm guessing you're well aware of this. I, unfortunately, have no additional insights or suggestions. However, given that ensuring Emacs is able to find the natively-compiled version of files seems non-trivial, it might help for a future patch series to be accompanied with tests. Thoughts? --=20 Suhail