From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 mAvgF6X0smWL9wAAqHPOHw:P1 (envelope-from ) for ; Fri, 26 Jan 2024 00:54:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mAvgF6X0smWL9wAAqHPOHw (envelope-from ) for ; Fri, 26 Jan 2024 00:54:13 +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=Bv0X3GTo; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706226853; 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=M9tJKWbvZAof8DSAa5Ury9cMX/fJ50ugD5+WhNIb0zI=; b=Uq38EBXTo5VeXgm6oQFZPn9GnCvTePr+qyeIAkao+f022l5sIZsVwXTNZtZZJVJOCMBpkG mNMrVS4a6PEsFsXGFL5o2L0UzKFnGjfOnqNvOB2jIfyGsP+mC0uwEf0AUnDmHdNDM/RRhH EdyeNyjwQavQ/wmpNhQwmzP/mN6BbVgAvFjunn4HboJOj9r9XERDXeSGEBNJFvsp8S4bhL hzq+SMytLPHdVFLoFt0ZpNbGR+CywZEVYRaLhZVjaBDVYTbNcg9t+er99F8zhhQ2RDzZ1K eNpqspFrDhblCGhXR2pYOMwVAPPMh3z8M8/LVwkMkS71QYxYMOL/ikUe1BWU9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=Bv0X3GTo; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706226853; a=rsa-sha256; cv=none; b=Qpg6eDy1pJZPBEWQBEkCtPk+WGJ+sME9+AurBW/NvtzTKT/U52cqBt6+fX9Nxw9RPTT05c IhMb61g0PynH6F5LdV56zzxEH3Om6NqZ1LUlj7Bqw4cZXCEc2zkhMHqNV2H9FLpvzZuFJS B13kiBBrrs60itj55Wk1HUjvV1tRRB/LjwHJZ/hZhNyWu0Lfn3Tk+5DhIzYRlJQxEk0CvZ FNh+0tPMvPJ8xq6TA5eO5WfmmvhuD0OlZAllsK9h+oAmlnlwn6iZTsGmW1i95MWgpL4mJQ k1+kcz/C/AkGcYXBuvtCLVpSZvKtQOpk20ph3Hs6jszdBW+qrBapBbgnXUixDQ== 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 106453507D for ; Fri, 26 Jan 2024 00:54:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT9Xk-0006ME-6z; Thu, 25 Jan 2024 18:54:00 -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 1rT9Xg-0006M4-RT for guix-patches@gnu.org; Thu, 25 Jan 2024 18:53:57 -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 1rT9Xg-0000LC-JA for guix-patches@gnu.org; Thu, 25 Jan 2024 18:53:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rT9Xm-0000NC-GX for guix-patches@gnu.org; Thu, 25 Jan 2024 18:54: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: Thu, 25 Jan 2024 23:54: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.17062268371422 (code B ref 67260); Thu, 25 Jan 2024 23:54:02 +0000 Received: (at 67260) by debbugs.gnu.org; 25 Jan 2024 23:53:57 +0000 Received: from localhost ([127.0.0.1]:49608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT9Xh-0000Ms-7i for submit@debbugs.gnu.org; Thu, 25 Jan 2024 18:53:57 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:36491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT9Xd-0000Me-Bi for 67260@debbugs.gnu.org; Thu, 25 Jan 2024 18:53:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayesians.ca; s=protonmail2; t=1706226819; x=1706486019; bh=M9tJKWbvZAof8DSAa5Ury9cMX/fJ50ugD5+WhNIb0zI=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Bv0X3GTo/XV2fu27l2O09/Hzytt9W3xIZ/62czxA7nVX//DtSMhsVWdKU9YLaICM2 8ePAEhYtTi/m3mtXgV4hfUwyTq1Mfih5TukDBoVevZl50NSYZUyJYgaFlgDYJrXoIZ kAo2iLYyQGMfV4vCNWOXAxaZjLzyGewtKzDvboySLlsN/SuZSog2uxrIdS17KqMFzm xaAK9NsqmqAkuZrOwVudL55o041aHnqvbfp4WB9J73yP2r+0fGR09m0+GbvW67GGhJ MYS8EZLr4J3agx9mwTxGGnRIjZT3tU6ujhhxaUDcmcLV6GXhTFIslp8awImCSIZzw3 O83BrUaMxdSvQ== Date: Thu, 25 Jan 2024 23:53:18 +0000 Message-ID: <87r0i5otqu.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.47 X-Spam-Score: -3.47 X-Migadu-Queue-Id: 106453507D X-Migadu-Scanner: mx12.migadu.com X-TUID: Xh3apyoOnzEf Liliana Marie Prikler writes: >> Suhail via Guix-patches via writes: >>=20 >> > I don't believe this patch is sufficient.=C2=A0 It seems that the >> > variable 'native-comp-eln-load-path may also need to be tweaked. >> > The path to the "native-lisp" directory needs to be specified >> > absolutely to make it not be dependent on the invocation-directory. >>=20 > ... I've managed to resolve it I can confirm that Emacs built by installing v6 patches on emacs-team branch and built with --no-grafts is now able to locate natively-compiled versions of features like help-fns etc. (which it couldn't with v5 patches). #+begin_src bash :results replace emacs --batch --eval "(message \"%s\" (car (split-string (describe-functi= on 'describe-function) \"\n\")))" #+end_src #+RESULTS: : Type q in help window to delete it : describe-function is an autoloaded interactive native-compiled Lisp However, there may be a spurious entry in native-comp-eln-load-path that should probably be removed. #+begin_src bash :results replace emacs --batch --eval "(message \"%s\" native-comp-eln-load-path)" #+end_src #+RESULTS: : (/home/user/.emacs.d/eln-cache/ /home/user/.guix-profile/lib/emacs/native= -site-lisp /gnu/store/4jvap9wxifizm56p6pmxc6rk0zyvm5zc-emacs-29.2/lib/emacs= /29.2/native-lisp ../native-lisp/) The "../native-lisp/" entry above, seems out of place. Based on the documentation of native-comp-eln-load-path: > If the name of a directory in this list is not absolute, it is assumed > to be relative to invocation-directory. Contrasting the above with an Emacs 29.1 installation on a non-Guix system, I notice that the latter doesn't have any non-absolute paths in native-comp-eln-load-path. Thoughts? --=20 Suhail