From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qOkAGGXKmWE0kQAAgWs5BA (envelope-from ) for ; Sun, 21 Nov 2021 05:26:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mH+7E2XKmWEbdAAAB5/wlQ (envelope-from ) for ; Sun, 21 Nov 2021 04:26:13 +0000 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 E99161572F for ; Sun, 21 Nov 2021 05:26:12 +0100 (CET) Received: from localhost ([::1]:43462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moeQe-0001rW-5I for larch@yhetil.org; Sat, 20 Nov 2021 23:26:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moeQU-0001r1-Vu for bug-guix@gnu.org; Sat, 20 Nov 2021 23:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moeQU-0004zF-Ne for bug-guix@gnu.org; Sat, 20 Nov 2021 23:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moeQU-0008Sq-F2 for bug-guix@gnu.org; Sat, 20 Nov 2021 23:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52002: missing $GUIX_PROFILE/share/emacs/site-lisp in EMACSLOADPATH Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Nov 2021 04:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52002 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: bbb ee Received: via spool by 52002-submit@debbugs.gnu.org id=B52002.163746872432475 (code B ref 52002); Sun, 21 Nov 2021 04:26:02 +0000 Received: (at 52002) by debbugs.gnu.org; 21 Nov 2021 04:25:24 +0000 Received: from localhost ([127.0.0.1]:43909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moePs-0008Ri-86 for submit@debbugs.gnu.org; Sat, 20 Nov 2021 23:25:24 -0500 Received: from mail-qt1-f176.google.com ([209.85.160.176]:43895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moePm-0008RG-AB for 52002@debbugs.gnu.org; Sat, 20 Nov 2021 23:25:22 -0500 Received: by mail-qt1-f176.google.com with SMTP id q14so13361478qtx.10 for <52002@debbugs.gnu.org>; Sat, 20 Nov 2021 20:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wG+0NuNBOHPHnCwivvRALFxvxwu/ZbhaZCFBRtM/GvM=; b=iwD2FyKPPppsbe5mjiBhF5Ng6IgnfHWkl+wzUeFvNroAQYgzYJOcK2o5V5QM2/dcee cT34ToMUYHJDchyYYY7Hn899mTYuTzdDrj6f0AXjDKrcnGeTLjEgooq6Cpe3smjQrwEv Bybvb59uu0QsNeG9uh9Ww8PyAvLz6P8lTCkbHn5Bmoqv5q1eiRru5d911Aa2xmpDVoei bM3uf8x+4SXs8lgANK5qw191XkRgaD2fkHFvbFN1ndpem2GL0g0a2L21YroIqMSM+bXL x5Rut0a5gopS/VAh0FO4p7uMg3MmbKRTZkTTYq3stsm39fpCFPJd1lE2iisO6Pw5FwrC nkDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=wG+0NuNBOHPHnCwivvRALFxvxwu/ZbhaZCFBRtM/GvM=; b=UyD8WH9lUv7MBOiVc5pGt4g4yL5NMe4ZSCDMsUwUgScneTMMSA7wy/LtA94Sx8Z+Fd LTpWl0Ue6CY5xYXwWCE3mdyR5NcskpzdN3aAvAj3+0m8+YmwJhxkWTB91ooNBVtoK42X R2a060oQbSV1SPIIUAl0J8HOGQuOOoWyZ9Uemo7Vw0Zq6WGD3QYD5jG8jixDU9CKR6OY TCnqmcZxvbzEzHeonc1BXP2OiR3G0HG/Dhvzma00PXCfZ9IS3bh+cIzWnrIlq3U9glQr XZKQPl4+t5LEacTRam1HZFklZ/q2Hxm4NIjRrVCdPg5v94jAIKihgoRXzyNjtAEfOmfb mx8Q== X-Gm-Message-State: AOAM532wuX5U3YRTf2fJx1L+X77fRTzJCDzsxz4kzCbX4gjTWxSk1oRP WFgBp5V/8SDhCsWIp1zSeMYGkEutZ8dcmQ== X-Google-Smtp-Source: ABdhPJwZDuteSfJvReLeLcBEk/Ha5Ijpwq5e3tTlKmC72RkAc+7NNgOVz6yqQ0o3Cv7S+dEXG/AfMg== X-Received: by 2002:ac8:5856:: with SMTP id h22mr20211136qth.375.1637468712655; Sat, 20 Nov 2021 20:25:12 -0800 (PST) Received: from hurd (dsl-10-148-124.b2b2c.ca. [72.10.148.124]) by smtp.gmail.com with ESMTPSA id b11sm2407816qtx.85.2021.11.20.20.25.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 20:25:12 -0800 (PST) From: Maxim Cournoyer References: Date: Sat, 20 Nov 2021 23:25:10 -0500 In-Reply-To: (bbb ee's message of "Sat, 20 Nov 2021 09:19:38 +0000") Message-ID: <877dd2dtjt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 52002@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637468773; 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: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=wG+0NuNBOHPHnCwivvRALFxvxwu/ZbhaZCFBRtM/GvM=; b=otW18KbYBdHI4+oKcWwA1adAvvKxx9FzK3VCt/FPZspHcldPTBJysBg7whN7zHTc9lElNX 2Jb4AAYc5lDUMeBpe9TrN38VviaR1lNcfxq9mooHVVm+O8XlbTdfiaZAWDQQnC/+NSbdA2 zq+nGbGhuE/tWAv4avdFqz27NqW3D4U6JMa3jq0aYfWvaHyeQui6U/aXrjNba5Rj3UlwfV 1WMKXXKL7Wyp6FOI7f9txOZxSd+HndY6Fm8IasxbS9TeOIyZBXma7Lqr1b3BhyfyKbcl/B RrGTBkB5nKLWsMvA4jOJXags/Iq8xRU6h+zaAAY185s0naNCzF8IatUxtqGDrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637468773; a=rsa-sha256; cv=none; b=ZLCA2rY0U3AFxmnVtvCTSfcrkc+X3WFTzkSkLhFgwVYdyJmwA0KOykQonm9bV7hXjQvj1H xmbMXgrBbbCU00iODC+orgGKUrPMbO339a9XV8dbcs8pKyZR7tpr3DUKi6PbArVn+xNwlU Zv/tODQA2hc4g9VszM2QOLEvDG4zJTcvPttYSHpwsmWcJlZSH6nE7cLELQdtJvUDdg3yY4 rkaX8WVFMV8X22AvOJaN1lkhmtHjaOTsSo327QZQxfGwyS7TT257fNF8aS2eFiktCuV0DU AwIAkqzA+tGU8NiOp+iispFNo3ZG2Ksv20AYJEZKsCzV95uaWLQId/P8lPpdWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iwD2FyKP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iwD2FyKP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: E99161572F X-Spam-Score: -0.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6Bn1YvE9HsW+ Hello, bbb ee writes: > ## Description of bug > emacs can't load packages installed by guix because missing > $GUIX_PROFILE/share/emacs/site-lisp > in EMACSLOADPATH > > $GUIX_PROFILE/share/emacs/site-lisp isn't set in my > $GUIX_PROFILE/etc/profile and not in my $EMACSLOADPATH > > ``` > $ echo $EMACSLOADPATH > /run/current-system/profile/share/emacs/site-lisp:/run/current-system/profile/share/emacs/27.1/lisp > > $ less $GUIX_PROFILE/etc/profile > export > EMACSLOADPATH="${GUIX_PROFILE:-/gnu/store/vq5dzmbx202z9p5hjyxfzcdpyzapxgxg-profile}/share/emacs/site-lisp:${GUIX_PROFILE:-/gnu/store/vq5dzmbx202z9p5hjyxfzcdpyzapxgxg-profile}/share/emacs/27.1/lisp${EMACSLOADPATH:+:}$EMACSLOADPATH" > > ``` The EMACSLOADPATH environment variable is set when installing Emacs itself; have you installed the 'emacs' package in your profile (guix install emacs), then sourced your profile again (. ~/.guix-profile/etc/profile), or alternatively started a new shell? This works for me, for example: --8<---------------cut here---------------start------------->8--- $ guix shell --container emacs emacs-magit -- emacs --batch --eval \ '(begin (print (getenv "EMACSLOADPATH") (print (magit-version))' Loading /gnu/store/hsj3kl0vc3hxiapklg5nj42z5jb4s80p-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0/magit-autoloads... [...] "/gnu/store/zv9iqvv6jnnvf0cr0c8kan3dcgj8mybj-profile/share/emacs/site-lisp:/gnu/store/ybpddmq7f8ajzydhiqqx6dldgmadqanp-emacs-27.2/share/emacs/27.2/lisp" "3.3.0" --8<---------------cut here---------------end--------------->8--- HTH, Maxim